diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2002-04-05 04:19:30 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2002-04-05 04:19:30 +0000 |
commit | cad8f6e06508a4cc95c0715419688e5f425682ad (patch) | |
tree | 17779073e2129cec98efb9978fa33e40f9b338a6 /libjava/configure.host | |
parent | 8580c531f3d26a53eeba7012c62d4cb4ae35143b (diff) | |
download | gcc-cad8f6e06508a4cc95c0715419688e5f425682ad.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: r51898
Diffstat (limited to 'libjava/configure.host')
-rw-r--r-- | libjava/configure.host | 24 |
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}" |