about summary refs log tree commit diff
path: root/libio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libio/Makefile')
-rw-r--r--libio/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 80d84e549d..e07fbc3d2e 100644
--- a/libio/Makefile
+++ b/libio/Makefile
@@ -97,7 +97,9 @@ distribute := iolibio.h libioP.h strfile.h Banner test-freopen.sh
 
 include ../Rules
 
+ifeq (no,$(cross-compiling))
 tests: $(objpfx)test-freopen.out
+endif
 
 $(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
 	$(SHELL) -e $< $(common-objpfx) '$(run-program-prefix)' 	\