Don't run ftwtest-sh if cross-compiling.
[kopensolaris-gnu/glibc.git] / io / Makefile
index e15676f..f8597f5 100644 (file)
@@ -62,5 +62,7 @@ include ../Rules
 CFLAGS-fts.c = -Wno-uninitialized
 CFLAGS-ftw.c = -Wno-uninitialized
 
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)ftwtest
        $(SHELL) -e ftwtest-sh $(common-objpfx) $<
+endif