summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-07-24 13:40:03 +0000
committerAndreas Jaeger <aj@suse.de>2000-07-24 13:40:03 +0000
commitbe608049f25ce4b5e6733002d54409bb6c7947cd (patch)
tree67144f1dacb69bf91376192614cb92bad718d20a /string
parent9a18638a3addc7da6d539c59048565f1177a5466 (diff)
downloadglibc-be608049f25ce4b5e6733002d54409bb6c7947cd.tar.gz
($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment.
Diffstat (limited to 'string')
-rw-r--r--string/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/string/Makefile b/string/Makefile
index 1ec547e9fb..e133b53266 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -62,7 +62,8 @@ CFLAGS-test-ffs.c = -fno-builtin
ifeq ($(cross-compiling),no)
tests: $(objpfx)tst-svc.out
-$(objpfx)tst-svc.out: $(objpfx)tst-svc
- $(built-program-cmd) $< > $@
+$(objpfx)tst-svc.out: tst-svc.input $(objpfx)tst-svc
+ GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \
+ $(built-program-cmd) < $(word 1,$^) > $@
-cmp tst-svc.expect $(objpfx)tst-svc.out
endif