diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-23 13:57:56 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-07-23 13:57:56 +0530 |
commit | 5b8d271571434a74b2464c278eafe2ff81f31029 (patch) | |
tree | f26246c5541976c4c40740c801f7d42c02b68d44 /sysdeps/x86/Makefile | |
parent | 9a7ab0769b295cbf5232140401742a8f34bda3de (diff) | |
download | glibc-5b8d271571434a74b2464c278eafe2ff81f31029.zip glibc-5b8d271571434a74b2464c278eafe2ff81f31029.tar.gz glibc-5b8d271571434a74b2464c278eafe2ff81f31029.tar.bz2 |
Fix build and tests with --disable-tunables
Remove unused code and declare __libc_mallopt when !IS_IN (libc) to
allow the debug hook to build with --disable-tunables.
Also, run tst-ifunc-isa-2* tests only when tunables are enabled since
the result depends on it.
Tested on x86_64.
Reported-by: Matheus Castanho <msc@linux.ibm.com>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'sysdeps/x86/Makefile')
-rw-r--r-- | sysdeps/x86/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile index 346ec49..bd4f6a1 100644 --- a/sysdeps/x86/Makefile +++ b/sysdeps/x86/Makefile @@ -19,14 +19,18 @@ ifeq (yes,$(have-ifunc)) ifeq (yes,$(have-gcc-ifunc)) tests += \ tst-ifunc-isa-1 \ - tst-ifunc-isa-1-static \ + tst-ifunc-isa-1-static +tests-static += \ + tst-ifunc-isa-1-static +ifneq ($(have-tunables),no) +tests += \ tst-ifunc-isa-2 \ tst-ifunc-isa-2-static tests-static += \ - tst-ifunc-isa-1-static \ tst-ifunc-isa-2-static endif endif +endif ifeq (yes,$(enable-x86-isa-level)) tests += tst-isa-level-1 modules-names += tst-isa-level-mod-1-baseline \ |