about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/string/Makefile b/string/Makefile
index 478ee90758..1ec547e9fb 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -62,5 +62,7 @@ CFLAGS-test-ffs.c = -fno-builtin
 
 ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-svc.out
-	cmp tst-svc.expect $(objpfx)tst-svc.out
+$(objpfx)tst-svc.out: $(objpfx)tst-svc
+	$(built-program-cmd) $< > $@
+	-cmp tst-svc.expect $(objpfx)tst-svc.out
 endif