summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-11-29 20:52:43 +0000
committerAndy Polyakov <appro@openssl.org>2010-11-29 20:52:43 +0000
commite822c756b66024d49ab936bf77b745206660fcd2 (patch)
treec5c6cd2bec509720a0753e245bd3731e99c6de83 /config
parent300b1d76fe27541c662ca606a6a201b2718e0c65 (diff)
downloadopenssl-new-e822c756b66024d49ab936bf77b745206660fcd2.tar.gz
s390x assembler pack: adapt for -m31 build, see commentary in Configure
for more details.
Diffstat (limited to 'config')
-rwxr-xr-xconfig13
1 files changed, 12 insertions, 1 deletions
diff --git a/config b/config
index 965884a627..bcc725eb18 100755
--- a/config
+++ b/config
@@ -629,7 +629,18 @@ case "$GUESSOS" in
sh*-*-linux2) OUT="linux-generic32"; options="$options -DL_ENDIAN" ;;
m68k*-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
s390-*-linux2) OUT="linux-generic32"; options="$options -DB_ENDIAN" ;;
- s390x-*-linux2) OUT="linux-s390x" ;;
+ s390x-*-linux2)
+ # To be uncommented when glibc bug is fixed, see Configure...
+ #if egrep -e '^features.* highgprs' /proc/cpuinfo >/dev/null ; then
+ # echo "WARNING! If you wish to build \"highgprs\" 32-bit library, then you"
+ # echo " have to invoke './Configure linux32-s390x' *manually*."
+ # if [ "$TEST" = "false" -a -t -1 ]; then
+ # echo " You have about 5 seconds to press Ctrl-C to abort."
+ # (trap "stty `stty -g`" 2 0; stty -icanon min 0 time 50; read waste) <&1
+ # fi
+ #fi
+ OUT="linux64-s390x"
+ ;;
x86_64-*-linux?) OUT="linux-x86_64" ;;
*86-*-linux2) OUT="linux-elf"
if [ "$GCCVER" -gt 28 ]; then