Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>1999-05-19 03:44:38 +0400
committerUlf Möller <ulf@openssl.org>1999-05-19 03:44:38 +0400
commitb67358328e9856154757330ce436f59d7a018d71 (patch)
treecd92e52510563279e07c265828ec4799e5f80229 /config
parent35f7324c237b9b5ee46a04b88a6020173d3c66b1 (diff)
gcc < 2.8 does not support ultrasparc.
Diffstat (limited to 'config')
-rwxr-xr-xconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/config b/config
index 075e0c24cd..428fe62cbe 100755
--- a/config
+++ b/config
@@ -330,6 +330,15 @@ case "$GUESSOS" in
*) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
esac
+# gcc < 2.8 does not support -mcpu=ultrasparc
+if [ "$OUT" = solaris-usparc-gcc ]
+then
+ if [ `echo "$GCCVER" | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
+ then
+ OUT=solaris-sparc-gcc
+ fi
+fi
+
case "$GUESSOS" in
i386-*) options="$options 386" ;;
esac