diff mbox series

[COMMITTED] elf: Do not run DSO sorting if tunables is not enabled

Message ID 20211103123806.2523035-1-adhemerval.zanella@linaro.org
State New
Headers show
Series [COMMITTED] elf: Do not run DSO sorting if tunables is not enabled | expand

Commit Message

Adhemerval Zanella Nov. 3, 2021, 12:38 p.m. UTC
Since the argorithm selection requires tunables.

Checked on x86_64-linux-gnu with --enable-tunables=no.
---
 elf/Makefile | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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