diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-01-14 20:16:05 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-01-14 20:17:49 +0100 |
commit | 990c953bce06d77360d2e933faa9a008e2c55405 (patch) | |
tree | dfa4be45e055b431817a8812af168c1561334bf6 /sysdeps/x86/Makefile | |
parent | 550116486692efc394d03befee19f7e9c17d5044 (diff) | |
download | glibc-990c953bce06d77360d2e933faa9a008e2c55405.zip glibc-990c953bce06d77360d2e933faa9a008e2c55405.tar.gz glibc-990c953bce06d77360d2e933faa9a008e2c55405.tar.bz2 |
x86: Add x86-64-vN check to early startup
This ISA level covers the glibc build itself. <dl-hwcap-check.h>
cannot be used because this check (by design) happens before
DL_PLATFORM_INIT and the x86 CPU flags initialization.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r-- | sysdeps/x86/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index 402986f..6cf7083 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 \ |