summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2012-11-08 21:34:29 +0000
committersjg <sjg@FreeBSD.org>2012-11-08 21:34:29 +0000
commitf451722de648cc9e5e12b87456c904e29d836c1b (patch)
treea5d537c9b5bf090879f13421109f9c113f1bc656 /gnu
parent7c5d24dc088262493eca3e042dddc362f401fdae (diff)
downloadFreeBSD-src-f451722de648cc9e5e12b87456c904e29d836c1b.zip
FreeBSD-src-f451722de648cc9e5e12b87456c904e29d836c1b.tar.gz
We need /backward too it seems
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libstdc++/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index 1005b5d..df64a50 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -626,5 +626,9 @@ CLEANFILES+= ${VERSION_MAP}
.include <bsd.lib.mk>
+.if ${MK_STAGING} == "yes"
+CXXFLAGS+= -I${STAGE_OBJTOP}${CXXINCLUDEDIR}/backward
+.endif
+
# Filter out libc++-specific flags, and -std= flags above c++98 or gnu++98.
CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
OpenPOWER on IntegriCloud