aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libio/Makefile b/libio/Makefile
index 80d84e5..e07fbc3 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)' \