aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-06 08:59:58 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-06 08:59:58 +0000
commit842c9b44a8ef6ddab982923538713f6789812ad6 (patch)
tree317fe22d747900c6bdc65b1a2a2b269d875bba29 /configure.ac
parent81ef1e9d043f826db9c00234d32a45f0e6eac186 (diff)
downloadrpm-setup-842c9b44a8ef6ddab982923538713f6789812ad6.tar
rpm-setup-842c9b44a8ef6ddab982923538713f6789812ad6.tar.gz
rpm-setup-842c9b44a8ef6ddab982923538713f6789812ad6.tar.bz2
rpm-setup-842c9b44a8ef6ddab982923538713f6789812ad6.tar.xz
rpm-setup-842c9b44a8ef6ddab982923538713f6789812ad6.zip
set %_host_cpu32 (used instead of %_host_cpu when run through linux32)
(cf patch rpm-4.4.8-use_host_cpu32-when-linux32.patch in rpm)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 02c6e64..58cc4c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,7 @@ case "${target_cpu}" in
x86_64|amd64)
RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4 amd64 x86_64"
CANONTARGETCPU=x86_64
+ CANONTARGETCPU32=i586
;;
ppc|powerpc)
RPMALLARCH="ppc"
@@ -52,6 +53,7 @@ esac
RPMALLARCH="${RPMALLARCH} noarch"
AC_SUBST(RPMALLARCH)
AC_SUBST(CANONTARGETCPU)
+AC_SUBST(CANONTARGETCPU32)
#
# get rid of the 4-th tuple, if config.guess returned "linux-gnu" for build_os