fix compiling on i386
This commit is contained in:
parent
476616e82d
commit
53a4c1b0e7
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 1999/03/12 20:45:09 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 1999/03/24 23:53:08 brad Exp $
|
||||
|
||||
DISTNAME= SSLeay-0.9.0b
|
||||
CATEGORIES= security
|
||||
@ -49,10 +49,12 @@ CONFIGURE_ARGS+= -I../../rsaref/ -DRSAref
|
||||
# gcc-2.8.* confuses DES names? destest fails, but not with gcc-2.7.*. fix.
|
||||
CONFIGURE_ARGS+= -DPERL5
|
||||
|
||||
.if (${MACHINE_ARCH} == "i386")
|
||||
CONFIGURE_ARGS+= OpenBSD-x86
|
||||
.elif (${MACHINE_ARCH} == "sparc")
|
||||
.if (${MACHINE_ARCH} == "sparc")
|
||||
CONFIGURE_ARGS+= OpenBSD-sparc
|
||||
.elif (${MACHINE_ARCH} == "i386")
|
||||
CONFIGURE_ARGS+= OpenBSD-x86
|
||||
.elif (${MACHINE_ARCH} == "m68k")
|
||||
CONFIGURE_ARGS+= OpenBSD-m68k
|
||||
.elif (${MACHINE_ARCH} == "alpha")
|
||||
CONFIGURE_ARGS+= alpha-gcc
|
||||
.else
|
||||
|
@ -1,15 +1,16 @@
|
||||
--- Configure.orig Fri Jun 26 04:25:25 1998
|
||||
+++ Configure Fri Mar 12 13:10:01 1999
|
||||
@@ -133,6 +133,8 @@
|
||||
+++ Configure Wed Mar 24 18:19:32 1999
|
||||
@@ -133,6 +133,9 @@
|
||||
"NetBSD-m86", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
"NetBSD-x86", "gcc:-DTERMIOS -DBN_ASM -D_ANSI_SOURCE -O3 -fomit-frame-pointer -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
||||
"FreeBSD", "gcc:-DTERMIOS -DBN_ASM -DL_ENDIAN -D_ANSI_SOURCE -fomit-frame-pointer -O3 -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:$x86_out_asm",
|
||||
+"OpenBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
+"OpenBSD-x86", "gcc:-DTERMIOS -D_ANSI_SOURCE -O3 -fomit-frame-pointer -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:asm/x86-lnxa.o:asm/dx86-out.o asm/cx86-out.o:asm/bx86-out.o",
|
||||
+"OpenBSD-sparc", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -mv8 -Wall::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
+"OpenBSD-m68k", "gcc:-DTERMIOS -O3 -fomit-frame-pointer -Wall -DB_ENDIAN::BN_LLONG MD2_CHAR RC4_INDEX DES_UNROLL:::",
|
||||
+"OpenBSD-x86", "gcc:-DTERMIOS -DBN_ASM -D_ANSI_SOURCE -O3 -fomit-frame-pointer -m486 -Wall::BN_LLONG $x86_gcc_des $x86_gcc_opts:",
|
||||
#"bsdi-gcc", "gcc:-O3 -ffast-math -DBN_ASM -DL_ENDIAN -DPERL5 -m486::RSA_LLONG $x86_gc_des $x86_gcc_opts:$x86_bsdi_asm",
|
||||
"nextstep", "cc:-O3 -Wall -DBN_ASM::BN_LLONG $x86_gcc_des $x86_gcc_opts:::",
|
||||
# NCR MP-RAS UNIX ver 02.03.01
|
||||
@@ -221,13 +223,13 @@
|
||||
@@ -221,13 +224,13 @@
|
||||
{
|
||||
$libs.=$_." ";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user