summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2018-03-24 20:54:09 +0100
committerAndy Polyakov <appro@openssl.org>2018-04-08 11:18:22 +0200
commite14795f83bd99b7df6305e411d4b6c52bdd98938 (patch)
tree98c11b64b8776a5cbff8f4e006f158a063342315 /config
parenttest/asn1_time_test.c: make it work on 64-bit HP-UX. (diff)
downloadopenssl-e14795f83bd99b7df6305e411d4b6c52bdd98938.tar.xz
openssl-e14795f83bd99b7df6305e411d4b6c52bdd98938.zip
config: fix hpux64-parisc2-gcc detection.
hpux64-parisc2-gcc is chosen based on gcc's bitness, and it was overriden unconditionally. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5742)
Diffstat (limited to 'config')
-rwxr-xr-xconfig11
1 files changed, 5 insertions, 6 deletions
diff --git a/config b/config
index ce99302186..a44cd21e93 100755
--- a/config
+++ b/config
@@ -760,7 +760,11 @@ case "$GUESSOS" in
OUT="hpux-ia64-cc"
fi
elif [ $CPU_VERSION -ge 532 ]; then # PA-RISC 2.x CPU
- OUT=${OUT:-"hpux-parisc2-${CC}"}
+ # PA-RISC 2.0 is no longer supported as separate 32-bit
+ # target. This is compensated for by run-time detection
+ # in most critical assembly modules and taking advantage
+ # of 2.0 architecture in PA-RISC 1.1 build.
+ OUT=${OUT:-"hpux-parisc1_1-${CC}"}
if [ $KERNEL_BITS -eq 64 -a "$CC" = "cc" ]; then
echo "WARNING! If you wish to build 64-bit library then you have to"
echo " invoke '$THERE/Configure hpux64-parisc2-cc' *manually*."
@@ -769,11 +773,6 @@ case "$GUESSOS" in
(trap "stty `stty -g`; exit 0" 2 0; stty -icanon min 0 time 50; read waste) <&1
fi
fi
- # PA-RISC 2.0 is no longer supported as separate 32-bit
- # target. This is compensated for by run-time detection
- # in most critical assembly modules and taking advantage
- # of 2.0 architecture in PA-RISC 1.1 build.
- OUT="hpux-parisc1_1-${CC}"
elif [ $CPU_VERSION -ge 528 ]; then # PA-RISC 1.1+ CPU
OUT="hpux-parisc1_1-${CC}"
elif [ $CPU_VERSION -ge 523 ]; then # PA-RISC 1.0 CPU