0b862b0399
This is a change in preparation for stopping to use lorder.sh (D26044) and instead assume that we have a linker newer than ~1990. Without lorder.sh duplicates end up being passed to the linker when building .so files and this can result in duplicate symbol definition errors. There is one minor change: libcompiler_rt.a will no longer provide gcc_personality_v0 and instead we now only have it in libgcc_eh.a/libgcc_s.so. This matches GCC's behaviour. Reviewed By: emaste, cem Differential Revision: https://reviews.freebsd.org/D26042
21 lines
290 B
Makefile
21 lines
290 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= clibs
|
|
LIB= gcc_eh
|
|
NO_PIC=
|
|
MK_SSP= no
|
|
WARNS?= 2
|
|
|
|
SRCS_EXC+= int_util.c
|
|
.include "Makefile.inc"
|
|
|
|
.if ${.MAKE.LEVEL} > 0
|
|
# avoid circular dependencies
|
|
GENDIRDEPS_FILTER+= Nlib/msun
|
|
CFLAGS+= -I${SRCTOP}/lib/msun/src
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|