summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2012-09-08 11:34:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2012-09-08 11:34:22 +0000
commitf9fddececadf3651cb4651c872a10c1de38199a6 (patch)
treec8215f7bb92b52ead78958db3c8c235847728c18 /gnu
parent54b1608e9446565337b2bdf312bff83ce542fea0 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libstdc++/Makefile1
-rw-r--r--gnu/lib/libsupc++/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index c3734429db0b..14bb04191f1f 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -22,6 +22,7 @@ CFLAGS+= -I${GCCLIB}/include -I${SRCDIR}/include -I.
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \
-Wno-deprecated
+CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections}
DPADD= ${LIBM}
diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile
index a65198970530..76fa1018cab1 100644
--- a/gnu/lib/libsupc++/Makefile
+++ b/gnu/lib/libsupc++/Makefile
@@ -24,6 +24,7 @@ CFLAGS+= -I${GCCLIB}/include -I${SRCDIR} -I${GCCDIR}
CFLAGS+= -I${.CURDIR}/../libstdc++ -I.
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections
+CXXFLAGS:= ${CXXFLAGS:N-stdlib=libc++:N-std=c++[01][13x]:N-std=gnu++[01][13x]}
PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections}
HDRS= exception new typeinfo cxxabi.h exception_defines.h