diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 21:59:01 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-10-24 21:59:01 +0000 |
commit | cc1290d07e9bb5662642846c50c97c853d1827b5 (patch) | |
tree | 3b302e5ce4233344fe3ca28909bcd09fb335e1e6 /Rules | |
parent | 6e6249d0b461b952d0f544792372663feb6d792a (diff) | |
download | glibc-cc1290d07e9bb5662642846c50c97c853d1827b5.tar.gz glibc-cc1290d07e9bb5662642846c50c97c853d1827b5.tar.xz glibc-cc1290d07e9bb5662642846c50c97c853d1827b5.zip |
Support cross-testing.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Rules b/Rules index db5bad0c85..35e6ce0bf1 100644 --- a/Rules +++ b/Rules @@ -180,8 +180,9 @@ ifneq "$(strip $(tests) $(xtests) $(test-srcs))" "" # These are the implicit rules for making test outputs # from the test programs and whatever input files are present. -make-test-out = GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \ - $($*-ENV) $(built-program-cmd) $($*-ARGS) +make-test-out = $(test-wrapper-env) \ + GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \ + $($*-ENV) $(host-built-program-cmd) $($*-ARGS) $(objpfx)%-bp.out: %.input $(objpfx)%-bp $(make-test-out) > $@ < $(word 1,$^) $(objpfx)%.out: %.input $(objpfx)% |