mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Backout the following change:
| revision 1.109 | date: 1999/06/24 19:39:23; author: ulf; state: Exp; lines: +0 -1 | Use the same CPU recogition method for FreeBSD 3 as for the other FreeBSD | versions. (The FreeBSD and FreeBSD-elf Configure entries were identical.) Because Ulf overlooked the ELF vs. a.out difference, i.e. the two entries were _NOT_ identical! This way OpenSSL 0.9.4 at least compiles again under FreeBSD 2 and 3. For 0.9.5-dev I'll try to fix the stuff in a more general way to also allow FreeBSD 4 and other variants.
This commit is contained in:
parent
6368c8b7d6
commit
70d65fe0e0
@ -211,7 +211,7 @@ my %table=(
|
|||||||
"NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
"NetBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||||
"NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
"NetBSD-m68", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::(unknown)::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||||
"NetBSD-x86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
"NetBSD-x86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
||||||
#"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall:(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
|
"FreeBSD-elf", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
|
||||||
"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
|
"FreeBSD", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
|
||||||
"bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown)::RSA_LLONG $x86_gcc_des $x86_gcc_opts:$x86_bsdi_asm",
|
"bsdi-gcc", "gcc:-O3 -ffast-math -DL_ENDIAN -DPERL5 -m486::(unknown)::RSA_LLONG $x86_gcc_des $x86_gcc_opts:$x86_bsdi_asm",
|
||||||
"bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
|
"bsdi-elf-gcc", "gcc:-DPERL5 -DL_ENDIAN -fomit-frame-pointer -O3 -m486 -Wall::(unknown)::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_elf_asm",
|
||||||
|
7
config
7
config
@ -137,6 +137,10 @@ case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" in
|
|||||||
echo "${MACHINE}-whatever-bsdi"; exit 0
|
echo "${MACHINE}-whatever-bsdi"; exit 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
FreeBSD:3*:*:*)
|
||||||
|
echo "${MACHINE}-whatever-freebsd3"; exit 0
|
||||||
|
;;
|
||||||
|
|
||||||
FreeBSD:*:*:*386*)
|
FreeBSD:*:*:*386*)
|
||||||
case `sysctl -n hw.model` in
|
case `sysctl -n hw.model` in
|
||||||
Pentium*)
|
Pentium*)
|
||||||
@ -398,7 +402,8 @@ case "$GUESSOS" in
|
|||||||
sun4*-sun-solaris2) OUT="solaris-sparcv7-$CC" ;;
|
sun4*-sun-solaris2) OUT="solaris-sparcv7-$CC" ;;
|
||||||
*86*-sun-solaris2) OUT="solaris-x86-$CC" ;;
|
*86*-sun-solaris2) OUT="solaris-x86-$CC" ;;
|
||||||
*-*-sunos4) OUT="sunos-$CC" ;;
|
*-*-sunos4) OUT="sunos-$CC" ;;
|
||||||
alpha*-*-freebsd) OUT="FreeBSD-alpha" ;;
|
alpha*-*-freebsd3) OUT="FreeBSD-alpha" ;;
|
||||||
|
*-freebsd3) OUT="FreeBSD-elf" ;;
|
||||||
*-freebsd) OUT="FreeBSD" ;;
|
*-freebsd) OUT="FreeBSD" ;;
|
||||||
*86*-*-netbsd) OUT="NetBSD-x86" ;;
|
*86*-*-netbsd) OUT="NetBSD-x86" ;;
|
||||||
sun3*-*-netbsd) OUT="NetBSD-m68" ;;
|
sun3*-*-netbsd) OUT="NetBSD-m68" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user