summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-03 09:19:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-11-03 09:25:06 -0300
commitd3bf2f5927d51258a51ac7fde04f4805f8ee294a (patch)
tree668f14c7fe0935f32fc099aa4bbc5e246ef5865a
parent09f214528c21f2825790d11ed9d1ac18d0657d48 (diff)
downloadglibc-d3bf2f5927d51258a51ac7fde04f4805f8ee294a.tar.gz
glibc-d3bf2f5927d51258a51ac7fde04f4805f8ee294a.tar.xz
glibc-d3bf2f5927d51258a51ac7fde04f4805f8ee294a.zip
elf: Do not run DSO sorting if tunables is not enabled
Since the argorithm selection requires tunables.

Checked on x86_64-linux-gnu with --enable-tunables=no.
-rw-r--r--elf/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index cb9bcfb799..41c19668c3 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -498,8 +498,10 @@ include $(objpfx)$(1).generated-makefile
 endef
 
 # Generate from each testcase description file
+ifeq (yes,$(have-tunables))
 $(eval $(call include_dsosort_tests,dso-sort-tests-1.def))
 $(eval $(call include_dsosort_tests,dso-sort-tests-2.def))
+endif
 
 check-abi: $(objpfx)check-abi-ld.out
 tests-special += $(objpfx)check-abi-ld.out