aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_eh
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2017-10-31 00:03:36 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2017-10-31 00:03:36 +0000
commita160cbfa073e8499026063d2d3882b2117b4ced7 (patch)
treed1a440f7f8cca779c9f10fc58dfa96b777fef0e1 /lib/libgcc_eh
parent83f4f35130ad6b5975531669dbe77be4f7b3901f (diff)
downloadsrc-a160cbfa073e8499026063d2d3882b2117b4ced7.tar.gz
src-a160cbfa073e8499026063d2d3882b2117b4ced7.zip
DIRDEPS_BUILD: libgcc now depends on MK_LLVM_LIBUNWIND
The dependency on gnu/lib/libgcc or lib/libgcc* is determined at 'make dirdeps' time. Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=325181
Diffstat (limited to 'lib/libgcc_eh')
-rw-r--r--lib/libgcc_eh/Makefile.depend13
-rw-r--r--lib/libgcc_eh/Makefile.inc3
2 files changed, 15 insertions, 1 deletions
diff --git a/lib/libgcc_eh/Makefile.depend b/lib/libgcc_eh/Makefile.depend
new file mode 100644
index 000000000000..18be76b0cb6f
--- /dev/null
+++ b/lib/libgcc_eh/Makefile.depend
@@ -0,0 +1,13 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+ include \
+ include/xlocale \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif
diff --git a/lib/libgcc_eh/Makefile.inc b/lib/libgcc_eh/Makefile.inc
index 6337f3890e18..d69084f059cf 100644
--- a/lib/libgcc_eh/Makefile.inc
+++ b/lib/libgcc_eh/Makefile.inc
@@ -29,7 +29,8 @@ CXXFLAGS+= -std=c++11
.endif
CXXFLAGS+= -fno-rtti
STATIC_CXXFLAGS+= -fvisibility=hidden -fPIC
+# Probably need to just move this earlier or use CXXFLAGS
.if ${MK_DIRDEPS_BUILD} == "yes"
# Avoid dependency on lib/libc++
-CFLAGS+= -I${SRCTOP}/contrib/libc++/include
+CFLAGS+= -isystem ${SRCTOP}/contrib/libc++/include -nostdinc++
.endif