summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2006-10-05 20:57:06 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2006-10-05 20:57:06 +0000
commitbd8243dac0f1efc6ee16dd189a6ce3e1174c9b9d (patch)
tree963f365495ac6e5eb0cabbd2f7e15246ba51ef46 /gnu
parent733d98a4a8c94d33b40b1d7dfd68ffe8d117983e (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libstdc++/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index 72441157a2fe..43e0893c7309 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -12,6 +12,9 @@ LIB= stdc++
SHLIB_MAJOR= 5
CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H
+.if ${MACHINE_ARCH} == "arm"
+CFLAGS+= -D_GLIBCXX_SJLJ_EXCEPTIONS=1
+.endif
CFLAGS+= -I${.CURDIR} -I${SUPDIR} -I${GCCDIR} -I${SRCDIR}/include
CFLAGS+= -frandom-seed=RepeatabilityConsideredGood
CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \