summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure.host
blob: 6c896c65348b26a8a626d4089902ac6e16ba0709 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# configure.host

# This shell script handles all host based configuration for libstdc++.
# 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:
#   glibcpp_cflags	Special CFLAGS to use when building
#   glibcpp_cxxflags	Special CXXFLAGS to use when building

glibcpp_cflags=
glibcpp_cxxflags=

AM_RUNTESTFLAGS= 

# Set any host dependent compiler flags.
# THIS TABLE IS SORTED.  KEEP IT THAT WAY.

echo "$target"

DIVIDESPEC=-fuse-divide-subroutine

case "${host}" in
  i686-*|i586-*)
	;;
  sparc-*)
        ;;
  *)
	;;
esac

glibcpp_cflags="${glibcpp_cflags} ${libgcj_flags}"
glibcpp_cxxflags="${glibcpp_cxxflags} ${libgcj_flags}"