about summary refs log tree commit diff
path: root/string/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'string/Makefile')
-rw-r--r--string/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/string/Makefile b/string/Makefile
index e766429c52..eda9242ab7 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -55,5 +55,7 @@ CFLAGS-noinl-tester.c = -fno-builtin
 CFLAGS-tst-strlen.c = -fno-builtin
 CFLAGS-stratcliff.c = -fno-builtin
 
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-svc.out
 	cmp tst-svc.expect $(objpfx)tst-svc.out
+endif