diff options
Diffstat (limited to 'gnu/lib/libstdc++-v3/Makefile')
-rw-r--r-- | gnu/lib/libstdc++-v3/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/libstdc++-v3/Makefile b/gnu/lib/libstdc++-v3/Makefile index de544bb2cea..8222d7abb52 100644 --- a/gnu/lib/libstdc++-v3/Makefile +++ b/gnu/lib/libstdc++-v3/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/lib/libstdc++/Makefile,v 1.63.2.1 2009/08/03 08:13:06 kensmith Exp $ -# $OpenBSD: Makefile,v 1.8 2015/05/14 02:56:01 jsg Exp $ +# $OpenBSD: Makefile,v 1.9 2016/02/18 14:24:20 jsg Exp $ .include "${.CURDIR}/Makefile.common" @@ -17,6 +17,9 @@ CFLAGS+= -frandom-seed=RepeatabilityConsideredGood CXXFLAGS+= -frandom-seed=RepeatabilityConsideredGood CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \ -Wno-deprecated +.if ${MACHINE_ARCH} == "arm" +CXXFLAGS+= -fno-stack-protector +.endif DPADD= ${LIBM} LDADD= -lm |