aboutsummaryrefslogtreecommitdiff
path: root/lib
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
parent83f4f35130ad6b5975531669dbe77be4f7b3901f (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libgcc_eh/Makefile.depend13
-rw-r--r--lib/libgcc_eh/Makefile.inc3
-rw-r--r--lib/libgcc_s/Makefile.depend16
3 files changed, 31 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
diff --git a/lib/libgcc_s/Makefile.depend b/lib/libgcc_s/Makefile.depend
new file mode 100644
index 000000000000..2f6d8d110c49
--- /dev/null
+++ b/lib/libgcc_s/Makefile.depend
@@ -0,0 +1,16 @@
+# $FreeBSD$
+# Autogenerated - do NOT edit!
+
+DIRDEPS = \
+ gnu/lib/csu \
+ include \
+ include/xlocale \
+ lib/${CSU_DIR} \
+ lib/libc \
+
+
+.include <dirdeps.mk>
+
+.if ${DEP_RELDIR} == ${_DEP_RELDIR}
+# local dependencies - needed for -jN in clean tree
+.endif