From: Andreas Jaeger Date: Mon, 24 Jul 2000 13:40:03 +0000 (+0000) Subject: ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment. X-Git-Tag: upstream/2.30~25030 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be608049f25ce4b5e6733002d54409bb6c7947cd;p=external%2Fglibc.git ($(objpfx)tst-svc.out): Fix rule to read from input from stdin and setup environment. --- 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