summaryrefslogtreecommitdiff
path: root/installplatform
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-01 10:06:27 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-10-01 10:06:27 +0300
commit65e06b20130da895fda8e3698a7ebe18e14d13ca (patch)
tree234ac704fdb2c6346c9867588e6ee0cc0c415573 /installplatform
parentaadc1a314640e5eaf31c7f76f9062b1e4e7d1772 (diff)
downloadrpm-65e06b20130da895fda8e3698a7ebe18e14d13ca.tar.gz
rpm-65e06b20130da895fda8e3698a7ebe18e14d13ca.tar.bz2
rpm-65e06b20130da895fda8e3698a7ebe18e14d13ca.zip
Tweaks to how ISA-macros are generated (rhbz#464754)
- for ppc and sparc, move the check for 64bit version first and use a wildcards to cover more field automatically
Diffstat (limited to 'installplatform')
-rwxr-xr-xinstallplatform16
1 files changed, 8 insertions, 8 deletions
diff --git a/installplatform b/installplatform
index bb5933d89..8861df0ec 100755
--- a/installplatform
+++ b/installplatform
@@ -80,13 +80,13 @@ for SUBST in $SUBSTS ; do
ISANAME=
ISABITS=
case "${ARCH}" in
- sparc|sparcv8|sparcv9*)
+ sparc64*)
ISANAME=sparc
- ISABITS=32
+ ISABITS=64
;;
- sparc64|sparc64v)
+ sparc*)
ISANAME=sparc
- ISABITS=64
+ ISABITS=32
;;
s390)
ISANAME=s390
@@ -96,13 +96,13 @@ for SUBST in $SUBSTS ; do
ISANAME=s390
ISABITS=64
;;
- ppc)
+ ppc64*)
ISANAME=ppc
- ISABITS=32
+ ISABITS=64
;;
- ppc64)
+ ppc*)
ISANAME=ppc
- ISABITS=64
+ ISABITS=32
;;
i?86|pentium?|athlon|geode)
ISANAME=x86