aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2024-03-24 08:51:59 +0200
committerJani Välimaa <wally@mageia.org>2024-03-24 08:54:38 +0200
commitff344f4f1ca7b9ac7b69a2ba61f402cb02f16940 (patch)
tree5399adb2e62863aef6d6d7744076bfde78c3f3f8 /configure.ac
parent2d306f2d2749e0a4fe8210bce03e68399f13382d (diff)
downloadrpm-setup-ff344f4f1ca7b9ac7b69a2ba61f402cb02f16940.tar
rpm-setup-ff344f4f1ca7b9ac7b69a2ba61f402cb02f16940.tar.gz
rpm-setup-ff344f4f1ca7b9ac7b69a2ba61f402cb02f16940.tar.bz2
rpm-setup-ff344f4f1ca7b9ac7b69a2ba61f402cb02f16940.tar.xz
rpm-setup-ff344f4f1ca7b9ac7b69a2ba61f402cb02f16940.zip
configure: force armv7hl target arch when building for armv7hl with armv8l/aarch64 host machine
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b7c697c..d1638ed 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,6 +103,13 @@ case "${target_cpu}" in
CANONTARGETGNU=-gnueabi
ARMV7CANONTARGETCPU="armv7hl"
ARMV8CANONTARGETCPU="armv7hl"
+ ;;
+ armv8*)
+ RPMALLARCH="armv7hl"
+ CANONTARGETCPU=armv7hl
+ CANONTARGETGNU=-gnueabi
+ ARMV7CANONTARGETCPU="armv7hl"
+ ARMV8CANONTARGETCPU="armv7hl"
esac
RPMALLARCH="${RPMALLARCH} noarch"
AC_SUBST(RPMALLARCH)