From d3bf2f5927d51258a51ac7fde04f4805f8ee294a Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 3 Nov 2021 09:19:30 -0300 Subject: 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. --- elf/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'elf/Makefile') 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 -- cgit 1.4.1