From 990c953bce06d77360d2e933faa9a008e2c55405 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 14 Jan 2022 20:16:05 +0100 Subject: x86: Add x86-64-vN check to early startup This ISA level covers the glibc build itself. cannot be used because this check (by design) happens before DL_PLATFORM_INIT and the x86 CPU flags initialization. Reviewed-by: H.J. Lu --- sysdeps/x86/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/x86/Makefile') diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index 402986ff68..6cf708335c 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -7,6 +7,7 @@ sysdep_routines += get-cpuid-feature-leaf sysdep-dl-routines += dl-get-cpu-features sysdep_headers += sys/platform/x86.h bits/platform/x86.h +CFLAGS-dl-get-cpu-features.os += $(rtld-early-cflags) CFLAGS-get-cpuid-feature-leaf.o += $(no-stack-protector) tests += tst-get-cpu-features tst-get-cpu-features-static \ -- cgit 1.4.1