libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
[gcc.git] / libjava / configure.host
index 6d6f4c9860377b0afd930c98b7e5d3ebe31f40a1..3838fc5f331821431671830cfea2c83d9aca8ab5 100644 (file)
@@ -23,7 +23,6 @@ libgcj_flags=
 libgcj_cflags=
 libgcj_cxxflags=
 libgcj_javaflags=
-libgcj_sjlj=
 libgcj_interpreter=
 
 case "${target_optspace}:${host}" in
@@ -46,6 +45,7 @@ AM_RUNTESTFLAGS=
 echo "$target"
 
 DIVIDESPEC=-fuse-divide-subroutine
+EXCEPTIONSPEC=-fnon-call-exceptions
 
 case "${host}" in
   mips-tx39-*|mipstx39-unknown-*)
@@ -65,18 +65,19 @@ case "${host}" in
        DIVIDESPEC=-fno-use-divide-subroutine
        ;;
   alpha*-*)
+       libgcj_flags="${libgcj_flags} -mieee"
        libgcj_interpreter=yes
        ;;
+  powerpc*-*)
+       libgcj_interpreter=yes
+       libgcj_sjlj=yes
+       ;;
   sparc-*)
         ;;
   ia64-*)
         libgcj_flags="${libgcj_flags} -funwind-tables"
-       libgcj_sjlj=yes
        libgcj_interpreter=yes
        ;;
-  *)
-        libgcj_sjlj=yes
-       ;;
 esac
 
 libgcj_cflags="${libgcj_cflags} ${libgcj_flags}"