]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(tests): Don't do it for cross compiling.
authorAndreas Jaeger <aj@suse.de>
Fri, 25 Aug 2000 09:02:59 +0000 (09:02 +0000)
committerAndreas Jaeger <aj@suse.de>
Fri, 25 Aug 2000 09:02:59 +0000 (09:02 +0000)
malloc/Makefile
stdio-common/Makefile

index 2c57da933e873fe63fabfc5f891f6ae29b9732e3..8b1313ebae46c5f2cac8594251ded55ab710627a 100644 (file)
@@ -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
index 5fe4c7c3d81f9b391ba2413a36ec9e2b1ecd57fd..994ca5cd46c76990817b53ac61ec805cb0ff047d 100644 (file)
@@ -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