From 2d1f73d4334593134d3a47704a2614ffcae384ae Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 12 Oct 2011 21:10:47 +0200 Subject: add basic support for avr32 -> ngw100 --- toolchain/gcc/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'toolchain/gcc/Makefile') 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 -- cgit v1.2.3