From 93f6e7e2177639865961ddf14446dcbf9d573d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jani=20V=C3=A4limaa?= Date: Tue, 2 Apr 2024 20:20:49 +0300 Subject: configure: add support for i686 target, and use it as a secondary target for x86_64 --- NEWS | 2 ++ configure.ac | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 309669d..3d117fe 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- configure: add support for i686 target, and use it as a secondary target for x86_64 + Version 2.76.1 - 31 March 2024, by Jani Välimaa - rpmrc: don't use -fstack-clash-protection on aarch64 with the clang toolchain diff --git a/configure.ac b/configure.ac index 8fb222b..d178b46 100644 --- a/configure.ac +++ b/configure.ac @@ -42,14 +42,18 @@ ARMV7CANONTARGETCPU="armv5tl" ARMV8CANONTARGETCPU="armv8l" case "${target_cpu}" in - *86|athlon|k6|pentium*) + i[3,4,5]86|athlon|k6|pentium3) RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4" CANONTARGETCPU=i586 ;; + i686|pentium4) + RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4" + CANONTARGETCPU=i686 + ;; x86_64|amd64) RPMALLARCH="i386 i486 i586 i686 k6 athlon pentium3 pentium4 amd64 x86_64" CANONTARGETCPU=x86_64 - CANONTARGETCPU32=i586 + CANONTARGETCPU32=i686 ;; ppc|powerpc) RPMALLARCH="ppc" -- cgit v1.2.1