summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:10:47 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:10:47 +0200
commit2d1f73d4334593134d3a47704a2614ffcae384ae (patch)
tree4857889a4073ac42ad0c5bd7020b236d5a06865a /toolchain/gcc/Makefile
parentb2e4d29ea9c3c2f5b99264bd270d4257439dfc3f (diff)
add basic support for avr32 -> ngw100
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 ec13aadea..b2e8842d9 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -22,7 +22,6 @@ GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \
--disable-libgomp \
--disable-biarch \
--disable-decimal-float \
- --disable-sjlj-exceptions \
--disable-libstdcxx-pch \
--disable-ppl-version-check \
--disable-cloog-version-check \
@@ -30,6 +29,12 @@ GCC_CONFOPTS= --prefix=$(STAGING_HOST_DIR) \
--without-cloog \
--disable-nls
+ifeq ($(ADK_TOOLCHAIN_GCC_SJLJ),y)
+GCC_CONFOPTS+= --enable-sjlj-exceptions
+else
+GCC_CONFOPTS+= --disable-sjlj-exceptions
+endif
+
ifeq ($(ADK_TOOLCHAIN_GCC_SSP),y)
GCC_CONFOPTS+= --enable-libssp
else