Prechádzať zdrojové kódy

It is now official, the cause of the mysterious gcc 3.3.5 exception
handling failure is definately sjlj. Only enable it for the apparently
broken gcc 3.3.3 toolchain, which _does_ need it for exception handling
to work properly.

Eric Andersen 20 rokov pred
rodič
commit
172f4c76b3
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      toolchain/gcc/Config.in

+ 2 - 1
toolchain/gcc/Config.in

@@ -59,7 +59,8 @@ config BR2_GCC_VERSION
 
 config BR2_GCC_USE_SJLJ_EXCEPTIONS
 	string
-	default "--enable-sjlj-exceptions"
+	default "--enable-sjlj-exceptions" if BR2_GCC_VERSION_3_3_3
+	default ""
 	help
 	    Currently the unwind stuff seems to work for staticly linked apps
 	    but not dynamic.  So use setjmp/longjmp exceptions by default.