diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-19 12:27:33 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-19 12:27:33 +0000 |
commit | 054810ec0e02d7d15bf96945e2ea46d2e4147aa5 (patch) | |
tree | 382618228bb170359a5ab7f683e298fd4746536d | |
parent | b67358328e9856154757330ce436f59d7a018d71 (diff) | |
download | openssl-new-054810ec0e02d7d15bf96945e2ea46d2e4147aa5.tar.gz |
For Solaris with old gcc versions (that don't understand
-mcpu=ultrasparc), don't silently step to solaris-sparc-gcc, which
would unnecessarily use less efficient assembler code.
Instead, use new configuration variant solaris-usparc-oldgcc;
this also means that someone who reads the output of ./config will
notice that it may be advantegeous to upgrade gcc.
-rwxr-xr-x | Configure | 1 | ||||
-rwxr-xr-x | config | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -107,6 +107,7 @@ my %table=( "solaris-x86-gcc","gcc:-O3 -fomit-frame-pointer -m486 -Wall -DL_ENDIAN:-D_REENTRANT:-lsocket -lnsl:BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_sol_asm", "solaris-sparc-gcc","gcc:-O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN:-D_REENTRANT:-lsocket -lnsl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR:asm/sparcv8.o::", "solaris-usparc-gcc","gcc:-O3 -fomit-frame-pointer -mcpu=ultrasparc -Wall -DB_ENDIAN -DULTRASPARC:-D_REENTRANT:-lsocket -lnsl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR:asm/sparcv8plus-gcc.o:::asm/md5-sparcv8plus.o:", +"solaris-usparc-oldgcc","gcc:-O3 -fomit-frame-pointer -Wall -DB_ENDIAN -DULTRASPARC:-D_REENTRANT:-lsocket -lnsl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR:asm/sparcv8plus-gcc.o:::asm/md5-sparcv8plus.o:", "debug-solaris-sparc-gcc","gcc:-O3 -g -mv8 -Wall -DB_ENDIAN:-D_REENTRANT:-lsocket -lnsl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR:::", "debug-solaris-usparc-gcc","gcc:-O3 -g -mcpu=ultrasparc -Wall -DB_ENDIAN:-D_REENTRANT:-lsocket -lnsl:BN_LLONG RC4_CHAR DES_UNROLL BF_PTR:asm/sparcv8plus-gcc.o::", @@ -335,7 +335,7 @@ if [ "$OUT" = solaris-usparc-gcc ] then if [ `echo "$GCCVER" | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ] then - OUT=solaris-sparc-gcc + OUT=solaris-usparc-oldgcc fi fi |