aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--configure.ac8
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"