diff options
author | Jani Välimaa <wally@mageia.org> | 2024-03-24 08:51:59 +0200 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2024-03-24 08:54:38 +0200 |
commit | ff344f4f1ca7b9ac7b69a2ba61f402cb02f16940 (patch) | |
tree | 5399adb2e62863aef6d6d7744076bfde78c3f3f8 | |
parent | 2d306f2d2749e0a4fe8210bce03e68399f13382d (diff) | |
download | rpm-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
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,4 @@ +- configure: force armv7hl target arch when building for armv7hl with armv8l/aarch64 host machine - macros: make _host_cpu identical with _target_cpu as ATM rpm uses real build host's arch and it can be different what we really want (armv8l vs. armv7hl) 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) |