summaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2002-04-05 04:17:11 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2002-04-05 04:17:11 +0000
commitc090488760eaa203801e8a82ad817cd70b793be5 (patch)
tree033b40ae7498c78c183f10ac14ba87316d059e93 /libjava/configure.host
parentf74761cd7e6254a9fb7d303e5a6835052374f632 (diff)
downloadgcc-c090488760eaa203801e8a82ad817cd70b793be5.tar.gz
configure.host: Add case statement to support generic port properties.
* configure.host: Add case statement to support generic port properties. Add *-*-freebsd* section. From-SVN: r51896
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host24
1 files changed, 19 insertions, 5 deletions
diff --git a/libjava/configure.host b/libjava/configure.host
index 7c882f3316e..0a98be9d2f5 100644
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -60,6 +60,7 @@ DIVIDESPEC=-fuse-divide-subroutine
EXCEPTIONSPEC=-fnon-call-exceptions
CHECKREFSPEC=
+# This case statement supports per-CPU defaults.
case "${host}" in
mips-tx39-*|mipstx39-unknown-*)
libgcj_flags="${libgcj_flags} -G 0"
@@ -87,16 +88,12 @@ case "${host}" in
libgcj_interpreter=yes
enable_hash_synchronization_default=yes
;;
- powerpc*-linux*)
+ powerpc*-*)
sysdeps_dir=powerpc
libgcj_interpreter=yes
enable_hash_synchronization_default=yes
slow_pthread_self=yes
;;
- powerpc*-darwin*)
- sysdeps_dir=powerpc
- libgcj_interpreter=yes
- ;;
sparc-*)
;;
ia64-*)
@@ -117,6 +114,23 @@ case "${host}" in
;;
esac
+# This case statement supports generic port properties and may refine
+# the above per-CPU defaults. Note: If your OS does not implement
+# MD_FALLBACK_FRAME_STATE_FOR, then you may want to set CHECKREFSPEC,
+# DIVIDESPEC (to fix >20 test cases) and EXCEPTIONSPEC (to reduce EH
+# bloat only) here.
+case "${host}" in
+ *-*-darwin*)
+ enable_hash_synchronization_default=no
+ slow_pthread_self=
+ ;;
+ *-*-freebsd*)
+ DIVIDESPEC=-fuse-divide-subroutine
+ CHECKREFSPEC=-fcheck-references
+ slow_pthread_self=
+ ;;
+esac
+
libgcj_cflags="${libgcj_cflags} ${libgcj_flags}"
libgcj_cxxflags="${libgcj_cxxflags} ${libgcj_flags}"
libgcj_javaflags="${libgcj_javaflags} ${libgcj_flags}"