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.
This commit is contained in:
Adhemerval Zanella 2021-11-03 09:19:30 -03:00
parent 09f214528c
commit d3bf2f5927

View File

@ -498,8 +498,10 @@ include $(objpfx)$(1).generated-makefile
endef endef
# Generate from each testcase description file # 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-1.def))
$(eval $(call include_dsosort_tests,dso-sort-tests-2.def)) $(eval $(call include_dsosort_tests,dso-sort-tests-2.def))
endif
check-abi: $(objpfx)check-abi-ld.out check-abi: $(objpfx)check-abi-ld.out
tests-special += $(objpfx)check-abi-ld.out tests-special += $(objpfx)check-abi-ld.out