]> git.ipfire.org Git - thirdparty/gcc.git/blame - boehm-gc/configure.host
boehm.cc: Include gc_local_alloc.h if appropriate.
[thirdparty/gcc.git] / boehm-gc / configure.host
CommitLineData
1530be84
TT
1# configure.host
2
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.
7
8# This shell script should be invoked as
9# . configure.host
10# If it encounters an error, it will exit with a message.
11
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", "")
16
17# It sets the following shell variables:
18# boehm_gc_cflags Special CFLAGS to use when building
19
18d6fb97 20boehm_gc_cflags=-fexceptions
1530be84
TT
21
22case "${target_optspace}:${host}" in
23 yes:*)
24 boehm_gc_cflags="${boehm_gc_cflags} -Os"
25 ;;
26 :m32r-* | :d10v-* | :d30v-*)
27 boehm_gc_cflags="${boehm_gc_cflags} -Os"
28 ;;
29 no:* | :*)
30 # Nothing.
31 ;;
32esac
33
34# Set any host dependent compiler flags.
35# THIS TABLE IS SORTED. KEEP IT THAT WAY.
36
37case "${host}" in
38 mips-tx39-*|mipstx39-unknown-*)
39 boehm_gc_cflags="${boehm_gc_cflags} -G 0"
40 ;;
41 *)
42 ;;
43esac