summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2014-01-18 14:22:56 +0000
committered <ed@FreeBSD.org>2014-01-18 14:22:56 +0000
commitaee72141a17bd3872e4b2807a31e25eae544ad63 (patch)
tree42ab1661a03450232c605a62365cfbd9b65d7893 /gnu
parent31dc7c36cae7dd93f0281619b42e939b55396360 (diff)
downloadFreeBSD-src-aee72141a17bd3872e4b2807a31e25eae544ad63.zip
FreeBSD-src-aee72141a17bd3872e4b2807a31e25eae544ad63.tar.gz
Replace LIBGCC by LIBCOMPILER_RT.
We now use libcompiler_rt on all platforms now. Instead of referring directly to -lgcc and LIBGCC, use -lcompiler_rt and LIBCOMPILER_RT.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index 21846bb..ad1e730 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -119,8 +119,8 @@ LIB1ASMFUNCS = _dvmd_tls _bb_init_func
.if ${MK_ARM_EABI} != "no"
LIB2ADDEH = unwind-arm.c libunwind.S pr-support.c unwind-c.c
# Some compilers generate __aeabi_ functions libgcc_s is missing
-DPADD+= ${LIBGCC}
-LDADD+= -lgcc
+DPADD+= ${LIBCOMPILER_RT}
+LDADD+= -lcompiler_rt
.else
LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c
.endif
OpenPOWER on IntegriCloud