projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35f7324
)
gcc < 2.8 does not support ultrasparc.
author
Ulf Möller
<ulf@openssl.org>
Tue, 18 May 1999 23:44:38 +0000
(23:44 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Tue, 18 May 1999 23:44:38 +0000
(23:44 +0000)
config
patch
|
blob
|
history
diff --git
a/config
b/config
index 075e0c24cdefcddf294cfab028e2c6c193383289..428fe62cbe6c6195d96bbd7f81ecb132b988186c 100755
(executable)
--- 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