diff options
author | Ulf Möller <ulf@openssl.org> | 2001-09-05 04:18:40 +0200 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2001-09-05 04:18:40 +0200 |
commit | 9d07fd03e31b7ab317f6793f706e048847e9743d (patch) | |
tree | 60ac4a38a28faeef463ab79ebe9a4c3c118b5365 /config | |
parent | Update the ENGINE README, and stock it up with extra verbeage for good (diff) | |
download | openssl-9d07fd03e31b7ab317f6793f706e048847e9743d.tar.xz openssl-9d07fd03e31b7ab317f6793f706e048847e9743d.zip |
Use GCC 2.95/3.0 optimization
Diffstat (limited to 'config')
-rwxr-xr-x | config | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -510,7 +510,18 @@ EOF esac ;; arm*-*-linux2) OUT="linux-elf-arm" ;; s390-*-linux2) OUT="linux-s390" ;; - *-*-linux2) OUT="linux-elf" ;; + *-*-linux2) OUT="linux-elf" + if [ "$GCCVER" -gt 28 ]; then + if grep '^model.*Pentium' /proc/cpuinfo >/dev/null ; then + OUT="linux-pentium" + fi + if grep '^model.*Pentium Pro' /proc/cpuinfo >/dev/null ; then + OUT="linux-ppro" + fi + if grep '^model.*K6' /proc/cpuinfo >/dev/null ; then + OUT="linux-k6" + fi + fi ;; *-*-linux1) OUT="linux-aout" ;; sun4u*-*-solaris2) OUT="solaris-sparcv9-$CC" |