diff options
author | obrien <obrien@FreeBSD.org> | 2006-10-05 20:55:37 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-10-05 20:55:37 +0000 |
commit | 25f4754ec5fe769440cd08f8bb0974188b77f801 (patch) | |
tree | 6ca1dd199909e81e9c00be2f0f64f948cf056507 /gnu/lib | |
parent | 440a3866d6b1df29e4f1f681ca12c0ef59d75f26 (diff) | |
download | FreeBSD-src-25f4754ec5fe769440cd08f8bb0974188b77f801.zip FreeBSD-src-25f4754ec5fe769440cd08f8bb0974188b77f801.tar.gz |
The ARM platform does the setjmp/longjmp type of exception handling.
Diffstat (limited to 'gnu/lib')
-rw-r--r-- | gnu/lib/libstdc++/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index 7244115..43e0893 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 \ |