]> git.pld-linux.org Git - packages/glibc.git/commitdiff
correct min_kernel logic
authorJan Palus <atler@pld-linux.org>
Tue, 2 Aug 2022 08:59:08 +0000 (10:59 +0200)
committerJan Palus <atler@pld-linux.org>
Tue, 2 Aug 2022 08:59:08 +0000 (10:59 +0200)
glibc.spec

index 1a7c485f85a3988c750aa4d60343ac833632129e..c82580bbb69f5a9df00b9931524eb96f3eb9374f 100644 (file)
@@ -9,7 +9,7 @@
 # - math/{test-fenv,test-tgmath,test-float,test-ifloat}, debug/backtrace-tst(SEGV)  fail on alpha
 #
 # Conditional build:
-# min_kernel   (default is 3.4.0 except for x86/x86_64 where 3.2.0 suffices)
+# min_kernel   (default is 3.2.0 with arch specific values x32 (3.4.0) aarch64 (3.7.0) ia64 (3.2.18))
 %bcond_without memusage        # don't build memusage utility
 %bcond_without selinux         # without SELinux support (in nscd)
 %bcond_with    tests           # perform "make test"
 %bcond_without cet             # Intel Control-flow Enforcement Technology (CET)
 %bcond_with    crypt           # don't build obsolete libcrypt
 #
-%ifarch %{ix86} %{x8664}
-%{!?min_kernel:%global         min_kernel      3.2.0}
-%else
+%ifarch aarch64
+%{!?min_kernel:%global         min_kernel      3.7.0}
+%endif
+%ifarch ia64
+%{!?min_kernel:%global         min_kernel      3.2.18}
+%endif
+%ifarch x32
 %{!?min_kernel:%global         min_kernel      3.4.0}
 %endif
+%ifnarch aarch64 ia64 x32
+%{!?min_kernel:%global         min_kernel      3.2.0}
+%endif
 
 %ifarch sparc64
 %undefine      with_memusage
This page took 0.076635 seconds and 4 git commands to generate.