summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-01-20 17:00:14 +0000
committerAndy Polyakov <appro@openssl.org>2005-01-20 17:00:14 +0000
commit57a68b2129ec8d714917ea2b7c20610f3f71ee58 (patch)
tree568de43438f1f721292aac23fd23bc00ec51e020 /config
parentbac252a5e39d793be90215213e9c6e7b56fe0e6b (diff)
downloadopenssl-new-57a68b2129ec8d714917ea2b7c20610f3f71ee58.tar.gz
linux-parisc update.
PR: 990 Submitted by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'config')
-rwxr-xr-xconfig10
1 files changed, 6 insertions, 4 deletions
diff --git a/config b/config
index b38935f9b8..5a3ee880ed 100755
--- a/config
+++ b/config
@@ -578,9 +578,11 @@ EOF
sun4d) OUT="linux-sparcv8" ;;
*) OUT="linux-sparcv7" ;;
esac ;;
- parisc-*-linux2)
- CPUARCH=`awk '/cpu family/{print substr($5,1,3)}' /proc/cpuinfo`
- CPUSCHEDULE=`awk '/^cpu.[ ]: PA/{print substr($3,3)}' /proc/cpuinfo`
+ parisc*-*-linux2)
+ # 64-bit builds under parisc64 linux are not supported and
+ # compiler is expected to generate 32-bit objects...
+ CPUARCH=`awk '/cpu family/{print substr($5,1,3); exit(0);}' /proc/cpuinfo`
+ CPUSCHEDULE=`awk '/^cpu.[ ]*: PA/{print substr($3,3); exit(0);}' /proc/cpuinfo`
# ??TODO ?? Model transformations
# 0. CPU Architecture for the 1.1 processor has letter suffixes. We strip that off
@@ -593,7 +595,7 @@ EOF
# PA8500 -> 8000 (2.0)
# PA8600 -> 8000 (2.0)
- CPUSCHEDULE=`echo $CPUSCHEDULE|sed -e 's/7300LC/7100LC/' -e 's/8?00/8000/'`
+ CPUSCHEDULE=`echo $CPUSCHEDULE|sed -e 's/7300LC/7100LC/' -e 's/8.00/8000/'`
# Finish Model transformations
options="$options -mschedule=$CPUSCHEDULE -march=$CPUARCH"