aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2016-10-21 04:49:39 +0000
committerEnji Cooper <ngie@FreeBSD.org>2016-10-21 04:49:39 +0000
commitae5f5e1c0213f519775259ced46d02aa4a472020 (patch)
treeb2dc9e3aa38e80e45fb32f259097c778dd97ca13 /gnu/lib
parent90ea06dd8af1b96288d9526d6c1dad57cead33c9 (diff)
Notes
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libgcc/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index 461a236b84fd..b101b4f2ea91 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -30,7 +30,8 @@ CFLAGS+= -DTARGET_ARM_EABI
CFLAGS+= -DIN_GCC -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
-DHAVE_GTHR_DEFAULT \
-I${GCCLIB}/include \
- -I${GCCDIR}/config -I${GCCDIR} -I.
+ -I${GCCDIR}/config -I${GCCDIR} -I. \
+ -I${CCDIR}/cc_tools
LDFLAGS+= -nodefaultlibs
LIBADD+= c
@@ -101,12 +102,6 @@ CFLAGS+= -I${SRCTOP}/contrib/libc++/include
.else # MK_LLVM_LIBUNWIND
-#
-# Prevent the potential unwind.h from gcc (generated)
-# to be in the include path before the one from llvm unwind
-#
-CFLAGS+= -I${CCDIR}/cc_tools
-
.if ${TARGET_CPUARCH} == "arm"
LIB2ADDEH = unwind-arm.c libunwind-arm.S pr-support.c unwind-c.c
.else