about summary refs log tree commit diff
path: root/stdio-common
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-08-25 09:02:59 +0000
committerAndreas Jaeger <aj@suse.de>2000-08-25 09:02:59 +0000
commit77e4b6fe4a4bfcb0b268894cb368d528088bdb65 (patch)
tree99225c9a5ad5f3c9ec6488eda8c01ef340503831 /stdio-common
parent62c275822458dbee8d5c6d0447e0a6ef877a76a5 (diff)
downloadglibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.tar.gz
glibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.tar.xz
glibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.zip
(tests): Don't do it for cross compiling.
Diffstat (limited to 'stdio-common')
-rw-r--r--stdio-common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 5fe4c7c3d8..994ca5cd46 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -60,6 +60,7 @@ test-srcs = tst-unbputc tst-printf
 
 include ../Rules
 
+ifeq ($(cross-compiling),no)
 .PHONY: do-tst-unbputc do-tst-printf
 tests: do-tst-unbputc do-tst-printf
 
@@ -70,6 +71,7 @@ $(objpfx)tst-unbputc.out: $(objpfx)tst-unbputc tst-unbputc.sh
 do-tst-printf: $(objpfx)tst-printf.out
 $(objpfx)tst-printf.out: $(objpfx)tst-printf tst-printf.sh
 	$(SHELL) -e tst-printf.sh $(common-objpfx) '$(run-program-prefix)'
+endif
 
 CFLAGS-vfprintf.c = -Wno-uninitialized
 CFLAGS-tst-printf.c = -Wno-format