summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-03-07 12:32:08 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-03-07 12:32:08 -0800
commit5618ddc0ef337bee1c7811936f85ec1856fc9143 (patch)
tree9cf398d069abeaa72c3ab4137aaf74688632da43
parent515b0760fa1cc7f4ec6d1e96d265105bf8481fe0 (diff)
downloadglibc-hjl/pr19783.tar.gz
Support --enable-hardcoded-path-in-tests in benchtestshjl/pr19783
benchtests should use $(test-via-rtld-prefix) and $(+link-tests) like other glibc tests. [BZ #19783] * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with $(test-via-rtld-prefix). ($(binaries-bench)): Replace $(+link) with $(+link-tests).
-rw-r--r--benchtests/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index 2b553f8355..a37d6666ec 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -118,7 +118,7 @@ bench-deps := bench-skeleton.c bench-timing.h Makefile
run-bench = $(test-wrapper-env) \
$(run-program-env) \
- $($*-ENV) $(rtld-prefix) $${run}
+ $($*-ENV) $(test-via-rtld-prefix) $${run}
timing-type := $(objpfx)bench-timing-type
@@ -172,7 +172,7 @@ $(timing-type) $(binaries-bench) $(binaries-benchset) \
$(binaries-bench-malloc): %: %.o $(objpfx)json-lib.o \
$(sort $(filter $(common-objpfx)lib%,$(link-libc))) \
$(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit)
- $(+link)
+ $(+link-tests)
$(objpfx)bench-%.c: %-inputs $(bench-deps)
{ if [ -n "$($*-INCLUDE)" ]; then \