From be608049f25ce4b5e6733002d54409bb6c7947cd Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 24 Jul 2000 13:40:03 +0000 Subject: ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment. --- string/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'string/Makefile') diff --git a/string/Makefile b/string/Makefile index 1ec547e..e133b53 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 -- cgit v1.1