summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-05-12 16:06:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-05-12 16:06:12 +0000
commit9540ccdf1f845497c3e0bf9126866c9038838a9a (patch)
tree3031cf89dad0781de10201027d7a4245869c72ec /config
parent98bf13c36b6ed51bad44cf2a5eb88279cf58b60c (diff)
downloadopenssl-new-9540ccdf1f845497c3e0bf9126866c9038838a9a.tar.gz
Stop warnings about deprecated -mcpu option.
Diffstat (limited to 'config')
-rwxr-xr-xconfig14
1 files changed, 7 insertions, 7 deletions
diff --git a/config b/config
index 24e9df339b..a0a7767d53 100755
--- a/config
+++ b/config
@@ -535,9 +535,9 @@ case "$GUESSOS" in
esac
if [ "$CC" = "gcc" ]; then
case ${ISA:-generic} in
- EV5|EV45) options="$options -mcpu=ev5";;
- EV56|PCA56) options="$options -mcpu=ev56";;
- *) options="$options -mcpu=ev6";;
+ EV5|EV45) options="$options -march=ev5";;
+ EV56|PCA56) options="$options -march=ev56";;
+ *) options="$options -march=ev6";;
esac
fi
;;
@@ -598,13 +598,13 @@ case "$GUESSOS" in
*86-*-linux2) OUT="linux-elf"
if [ "$GCCVER" -gt 28 ]; then
if grep '^model.*Pentium' /proc/cpuinfo >/dev/null ; then
- options="$options -mcpu=pentium"
+ options="$options -march=pentium"
fi
if grep '^model.*Pentium Pro' /proc/cpuinfo >/dev/null ; then
- options="$options -mcpu=pentiumpro"
+ options="$options -march=pentiumpro"
fi
if grep '^model.*K6' /proc/cpuinfo >/dev/null ; then
- options="$options -mcpu=k6"
+ options="$options -march=k6"
fi
fi ;;
*-*-linux1) OUT="linux-aout" ;;
@@ -783,7 +783,7 @@ esac
# options="$options -DATALLA"
#fi
-# gcc < 2.8 does not support -mcpu=ultrasparc
+# gcc < 2.8 does not support -march=ultrasparc
if [ "$OUT" = solaris-sparcv9-gcc -a $GCCVER -lt 28 ]
then
echo "WARNING! Falling down to 'solaris-sparcv8-gcc'."