33c4e94990
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.
13 lines
216 B
Makefile
13 lines
216 B
Makefile
.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>
|