public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] elf: Do not run DSO sorting if tunables is not enabled
@ 2021-11-03 12:38 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2021-11-03 12:38 UTC (permalink / raw)
  To: libc-alpha

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 --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
-- 
2.32.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-03 12:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 12:38 [COMMITTED] elf: Do not run DSO sorting if tunables is not enabled Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).