summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a7bc45e00..f6095eb8f 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -22,12 +22,17 @@ GCC_CONFOPTS= --prefix=$(STAGING_TOOLS) \
--enable-target-optspace \
--with-gnu-ld \
--disable-libmudflap \
- --disable-sjlj-exceptions \
--disable-libgomp \
--disable-biarch \
--disable-multilib \
--disable-nls
+ifeq ($(ADK_LINUX_ARM_TOMTOM),y)
+GCC_CONFOPTS+= --enable-sjlj-exceptions
+else
+GCC_CONFOPTS+= --disable-sjlj-exceptions
+endif
+
ifeq ($(ADK_SSP),y)
GCC_CONFOPTS+= --enable-libssp
else