From: Andreas Jaeger Date: Fri, 25 Aug 2000 09:02:59 +0000 (+0000) Subject: (tests): Don't do it for cross compiling. X-Git-Tag: upstream/2.30~24707 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77e4b6fe4a4bfcb0b268894cb368d528088bdb65;p=external%2Fglibc.git (tests): Don't do it for cross compiling. --- 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