Commit b5b22731 authored by Bodo Möller's avatar Bodo Möller
Browse files

Judging from various messages on the OpenSSL mailing lists, HP-UX 10

with cc (but not gcc) seems to work well with BN_LLONG; but -O4 is too
much.
parent 924154d9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -155,8 +155,8 @@ my %table=(

# HPUX 10.X config.  Supports threads.
"hpux10-cc",	"cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O4 -z::-D_REENTRANT::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
# If hpux10-cc fails, try this one:
"hpux10-brokencc",	"cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O4 -z::-D_REENTRANT::DES_PTR DES_UNROLL DES_RISC1:::",
# If hpux10-cc fails, try this one (if still fails, try deleting BN_LLONG):
"hpux10-brokencc",	"cc:-DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O2 -z::-D_REENTRANT::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",

"hpux10-gcc",	"gcc:-DB_ENDIAN -DBN_DIV2W -O3::-D_REENTRANT::BN_LLONG DES_PTR DES_UNROLL DES_RISC1:::",
# If hpux10-gcc fails, try this one:
+2 −2
Original line number Diff line number Diff line
@@ -886,11 +886,11 @@ $rc5_obj =

*** hpux10-brokencc
$cc           = cc
$cflags       = -DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O4 -z
$cflags       = -DB_ENDIAN -DBN_DIV2W -Ae +ESlit +O2 -z
$unistd       = 
$thread_cflag = -D_REENTRANT
$lflags       = 
$bn_ops       = DES_PTR DES_UNROLL DES_RISC1
$bn_ops       = BN_LLONG DES_PTR DES_UNROLL DES_RISC1
$bn_obj       = 
$des_obj      = 
$bf_obj       =