diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-07 08:01:42 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-04-07 08:01:42 +0000 |
commit | 22b297cdeaa7704bc964a76562dcf8aed710c2bb (patch) | |
tree | 7f963ae6b27df44232d80c837e9ccc32932e94af /boehm-gc/configure.host | |
parent | 386fe957b821b33f2ff2724bf5aaf0c6030c6a99 (diff) | |
download | gcc-22b297cdeaa7704bc964a76562dcf8aed710c2bb.tar.gz |
Cygnus/libgcj changes to Boehm GC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26257 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure.host')
-rw-r--r-- | boehm-gc/configure.host | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/boehm-gc/configure.host b/boehm-gc/configure.host new file mode 100644 index 00000000000..1903242fec4 --- /dev/null +++ b/boehm-gc/configure.host @@ -0,0 +1,43 @@ +# configure.host + +# This shell script handles all host based configuration for boehm_gc. +# It sets various shell variables based on the the host and the +# configuration options. You can modify this shell script without +# needing to rerun autoconf. + +# This shell script should be invoked as +# . configure.host +# If it encounters an error, it will exit with a message. + +# It uses the following shell variables: +# host The configuration host +# host_cpu The configuration host CPU +# target_optspace --enable-target-optspace ("yes", "no", "") + +# It sets the following shell variables: +# boehm_gc_cflags Special CFLAGS to use when building + +boehm_gc_cflags= + +case "${target_optspace}:${host}" in + yes:*) + boehm_gc_cflags="${boehm_gc_cflags} -Os" + ;; + :m32r-* | :d10v-* | :d30v-*) + boehm_gc_cflags="${boehm_gc_cflags} -Os" + ;; + no:* | :*) + # Nothing. + ;; +esac + +# Set any host dependent compiler flags. +# THIS TABLE IS SORTED. KEEP IT THAT WAY. + +case "${host}" in + mips-tx39-*|mipstx39-unknown-*) + boehm_gc_cflags="${boehm_gc_cflags} -G 0" + ;; + *) + ;; +esac |