]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
elf: Do not run DSO sorting if tunables is not enabled
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 3 Nov 2021 12:19:30 +0000 (09:19 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 3 Nov 2021 12:25:06 +0000 (09:25 -0300)
Since the argorithm selection requires tunables.

Checked on x86_64-linux-gnu with --enable-tunables=no.

elf/Makefile

index cb9bcfb79932ba5f3e77baed94429ea25fbc693c..41c19668c32bd4647844bcbd493ec9a3c6730f0e 100644 (file)
@@ -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