diff options
-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) |