diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-11 09:37:50 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-11 09:37:50 +0530 |
commit | 01dc6df938832fe923ac394812553c0fc8a0f113 (patch) | |
tree | c7c90a08af5aa4330f18c3b2356fc5acf0aafbd0 /math | |
parent | 8da491f585f6112630688d0632407f5460136ffe (diff) | |
download | glibc-01dc6df938832fe923ac394812553c0fc8a0f113.tar.gz glibc-01dc6df938832fe923ac394812553c0fc8a0f113.tar.xz glibc-01dc6df938832fe923ac394812553c0fc8a0f113.zip |
Don't use run-via-rtld-prefix for anything other than tests
run-via-rtld-prefix checks whether the program to be run is a static test and skips if it is. This is fine, except that it assumes that the program to be run is the second $^, which is true only for tests. This change creates an rtld-prefix, which is simply the dynamic linker prefix with the necessary arguments and uses that in the non-test targets.
Diffstat (limited to 'math')
-rw-r--r-- | math/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile index ee5b58239e..9f0bf722b9 100644 --- a/math/Makefile +++ b/math/Makefile @@ -156,7 +156,7 @@ ifneq (no,$(PERL)) run-regen-ulps = $(test-wrapper-env) \ GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \ - $($*-ENV) $(run-via-rtld-prefix) $${run} + $($*-ENV) $(rtld-prefix) $${run} regen-ulps: $(addprefix $(objpfx),$(libm-tests)) rm -f $(objpfx)ULPs; rm -f $(objpfx)NewUlps; \ |