summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordberg.se>2000-03-20 17:03:46 +0100
committerLinus Nordberg <linus@nordberg.se>2000-03-20 17:03:46 +0100
commit16319caf76971cf16d73de0ed83d186a71683275 (patch)
tree33333a962b9ccc4cdf9495e195f4e9e26484e3c8 /configure
parent1b31f660e9c1d9192f4100a6583ba044364d8e02 (diff)
downloadgmp-16319caf76971cf16d73de0ed83d186a71683275.tar.gz
Set compiler options for `sparcv8'.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure b/configure
index 32e28c182..ffebbf412 100755
--- a/configure
+++ b/configure
@@ -1103,10 +1103,10 @@ case "$target" in
gmp_cflags_cc="$gmp_cflags_cc -O"
;;
alpha*-*-*)
- taste=`echo $target_cpu | sed 's/^alpha//g'`
- if test -n "$taste"; then
- gmp_optcflags_gcc="-mcpu=$taste"
- gmp_cflags_cc="$gmp_cflags_cc -arch $taste -tune $taste"
+ flavour=`echo $target_cpu | sed 's/^alpha//g'`
+ if test -n "$flavour"; then
+ gmp_optcflags_gcc="-mcpu=$flavour"
+ gmp_cflags_cc="$gmp_cflags_cc -arch $flavour -tune $flavour"
fi
;;
@@ -1138,11 +1138,11 @@ case "$target" in
gmp_cflags_gcc="$gmp_cflags_gcc -mcpu=v9 -Wa,-xarch=v8plus"
gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"
;;
- microsparc*-*-solaris2.*)
+ sparcv8*-*-solaris2.* | microsparc*-*-solaris2.*)
gmp_cflags_gcc="$gmp_cflags_gcc -mcpu=v8"
gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"
;;
- microsparc*-*-*) # SunOS, Linux, *BSD
+ sparcv8*-*-* | microsparc*-*-*) # SunOS, Linux, *BSD
cclist="gcc acc cc"
gmp_cflags_gcc="$gmp_cflags_gcc -mcpu=v8"
gmp_cflags_acc="-g -O2 -cg92"