diff options
author | Andreas Jaeger <aj@suse.de> | 2000-08-25 09:02:59 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-08-25 09:02:59 +0000 |
commit | 77e4b6fe4a4bfcb0b268894cb368d528088bdb65 (patch) | |
tree | 99225c9a5ad5f3c9ec6488eda8c01ef340503831 | |
parent | 62c275822458dbee8d5c6d0447e0a6ef877a76a5 (diff) | |
download | glibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.zip glibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.tar.gz glibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.tar.bz2 |
(tests): Don't do it for cross compiling.
-rw-r--r-- | malloc/Makefile | 2 | ||||
-rw-r--r-- | stdio-common/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile index 2c57da9..8b1313e 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -93,11 +93,13 @@ $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o lib: $(objpfx)libmcheck.a +ifeq (no,$(cross-compiling)) ifeq (yes,$(build-shared)) tests: $(objpfx)tst-mtrace.out $(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace $(SHELL) -e $< $(common-objpfx) endif +endif # Uncomment this for test releases. For public releases it is too expensive. #CPPFLAGS-malloc.o += -DMALLOC_DEBUG diff --git a/stdio-common/Makefile b/stdio-common/Makefile index 5fe4c7c..994ca5c 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 |