about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--io/Makefile2
-rw-r--r--string/Makefile2
3 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 66dc924e53..fbc1fbbdf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1998-05-29  Ulrich Drepper  <drepper@cygnus.com>
+
+	* io/Makefile: Don't run ftwtest-sh if cross-compiling.
+	* string/Makefile: Don't run test on tst/svc.out if
+	cross-compiling.
+	Reported by Deborah Wallach <kerr@pa.dec.com>.
+
 1998-05-28 00:53  Zack Weinberg  <zack@rabi.phys.columbia.edu>
 
 	* glibcbug.in: Send to bugs@gnu or libc-alpha@cygnus depending
diff --git a/io/Makefile b/io/Makefile
index e15676f39d..f8597f5972 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -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
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