diff options
author | Ulf Möller <ulf@openssl.org> | 1999-05-19 03:44:38 +0400 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 1999-05-19 03:44:38 +0400 |
commit | b67358328e9856154757330ce436f59d7a018d71 (patch) | |
tree | cd92e52510563279e07c265828ec4799e5f80229 /config | |
parent | 35f7324c237b9b5ee46a04b88a6020173d3c66b1 (diff) |
gcc < 2.8 does not support ultrasparc.
Diffstat (limited to 'config')
-rwxr-xr-x | config | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |