3 # This shell script handles all host based configuration for boehm_gc.
4 # It sets various shell variables based on the the host and the
5 # configuration options. You can modify this shell script without
6 # needing to rerun autoconf.
8 # This shell script should be invoked as
10 # If it encounters an error, it will exit with a message.
12 # It uses the following shell variables:
13 # host The configuration host
14 # host_cpu The configuration host CPU
15 # target_optspace --enable-target-optspace ("yes", "no", "")
17 # It sets the following shell variables:
18 # boehm_gc_cflags Special CFLAGS to use when building
20 boehm_gc_cflags=-fexceptions
22 case "${target_optspace}:${host}" in
24 boehm_gc_cflags="${boehm_gc_cflags} -Os"
26 :m32r-* | :d10v-* | :d30v-*)
27 boehm_gc_cflags="${boehm_gc_cflags} -Os"
34 # Set any host dependent compiler flags.
35 # THIS TABLE IS SORTED. KEEP IT THAT WAY.
38 mips-tx39-*|mipstx39-unknown-*)
39 boehm_gc_cflags="${boehm_gc_cflags} -G 0"