[packages/glibc] correct min_kernel logic

atler atler at pld-linux.org
Tue Aug 2 11:05:16 CEST 2022


commit 4f3bbffe15c07ae1afdfe014fb59f2867d72f8c7
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Aug 2 10:59:08 2022 +0200

    correct min_kernel logic

 glibc.spec | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/glibc.spec b/glibc.spec
index 1a7c485..c82580b 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -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"
@@ -20,11 +20,18 @@
 %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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glibc.git/commitdiff/7b0f6aa855b6bf8f1f353b77356f7530b6c7de36



More information about the pld-cvs-commit mailing list