diff options
| author | Simon J. Gerraty <sjg@FreeBSD.org> | 2012-11-08 21:34:29 +0000 |
|---|---|---|
| committer | Simon J. Gerraty <sjg@FreeBSD.org> | 2012-11-08 21:34:29 +0000 |
| commit | 53cafa23cd40c5dada2918df671c4e1a358c8362 (patch) | |
| tree | a5d537c9b5bf090879f13421109f9c113f1bc656 /gnu/lib/libstdc++ | |
| parent | 43d24beb7b7b3856562dab92ec63ffde9c7a6752 (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libstdc++')
| -rw-r--r-- | gnu/lib/libstdc++/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index 1005b5d96b54..df64a50a0fc7 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]} |
