Empty libgcc_s.
This library is built just so that something is present in /usr/lib/libgcc_s.so.1. This is needed for dynamically programs built with gcc, which might reference that library at runtime (i.e. all pkgsrc packages). The necessary symbols are in libc however, so when built on a clang-only system, so an empty library is a working stopgap.
This commit is contained in:
parent
ac74a77a40
commit
33c4e94990
6 changed files with 29 additions and 4 deletions
|
@ -2024,10 +2024,11 @@
|
|||
./usr/lib/libform.so.6 minix-sys
|
||||
./usr/lib/libgcc.a minix-sys gcc=45
|
||||
./usr/lib/libgcc_eh.a minix-sys gcccmds
|
||||
./usr/lib/libgcc_s.a minix-sys gcccmds
|
||||
./usr/lib/libgcc_s.so minix-sys gcccmds
|
||||
./usr/lib/libgcc_s.so.1.0 minix-sys gcccmds
|
||||
./usr/lib/libgcc_s.so.1 minix-sys gcccmds
|
||||
./usr/lib/libgcc_s_pic.a minix-sys !libgcc
|
||||
./usr/lib/libgcc_s.a minix-sys
|
||||
./usr/lib/libgcc_s.so minix-sys
|
||||
./usr/lib/libgcc_s.so.1.0 minix-sys
|
||||
./usr/lib/libgcc_s.so.1 minix-sys
|
||||
./usr/lib/libinputdriver.a minix-sys
|
||||
./usr/lib/libinputdriver_pic.a minix-sys
|
||||
./usr/lib/libl.a minix-sys
|
||||
|
|
|
@ -52,6 +52,10 @@ SUBDIR+= libasyn \
|
|||
libusb \
|
||||
libvtreefs
|
||||
|
||||
.if (${HAVE_LIBGCC} == "no")
|
||||
SUBDIR+= libgcc_s_empty
|
||||
.endif
|
||||
|
||||
.if (${MKLWIP} == "yes")
|
||||
SUBDIR+= liblwip \
|
||||
libnetsock
|
||||
|
|
13
lib/libgcc_s_empty/Makefile
Normal file
13
lib/libgcc_s_empty/Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
.include <bsd.own.mk>
|
||||
|
||||
USE_SHLIBDIR= yes
|
||||
|
||||
LIB= gcc_s
|
||||
|
||||
LDFLAGS+= -nodefaultlibs
|
||||
LDFLAGS+= -Wl,--version-script=${.CURDIR}/libgcc_s_empty.map
|
||||
|
||||
SRCS+= empty.c
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
.include <bsd.subdir.mk>
|
0
lib/libgcc_s_empty/empty.c
Normal file
0
lib/libgcc_s_empty/empty.c
Normal file
5
lib/libgcc_s_empty/libgcc_s_empty.map
Normal file
5
lib/libgcc_s_empty/libgcc_s_empty.map
Normal file
|
@ -0,0 +1,5 @@
|
|||
GCC_3.0 {
|
||||
global:
|
||||
*;
|
||||
};
|
||||
|
2
lib/libgcc_s_empty/shlib_version
Normal file
2
lib/libgcc_s_empty/shlib_version
Normal file
|
@ -0,0 +1,2 @@
|
|||
major=1
|
||||
minor=0
|
Loading…
Reference in a new issue