aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane E. Potvin <sepotvin@FreeBSD.org>2010-01-22 14:09:15 +0000
committerStephane E. Potvin <sepotvin@FreeBSD.org>2010-01-22 14:09:15 +0000
commita070c49911dbd8bbcbaf22aec3bce85eaf3b2922 (patch)
tree1185f080d2d56566a47a74eff06b50cc5b6fe2a5
parent424b4e66a96672414e1c8ea13662b528b7ad1fd2 (diff)
Notes
-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 e2a774e22a54..419d51c4f4df 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -21,6 +21,7 @@ CFLAGS+= -I${GCCLIB}/include -I${SRCDIR}/include -I.
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \
-Wno-deprecated
+PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections}
DPADD= ${LIBM}
LDADD= -lm
diff --git a/gnu/lib/libsupc++/Makefile b/gnu/lib/libsupc++/Makefile
index 54e96b855565..fc024e861ccb 100644
--- a/gnu/lib/libsupc++/Makefile
+++ b/gnu/lib/libsupc++/Makefile
@@ -23,6 +23,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
+PO_CXXFLAGS= ${CXXFLAGS:N-ffunction-sections}
HDRS= exception new typeinfo cxxabi.h exception_defines.h
INCS= ${HDRS:S;^;${SRCDIR}/;}