Преглед изворни кода

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 година
родитељ
комит
172f4c76b3
1 измењених фајлова са 2 додато и 1 уклоњено
  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.