summaryrefslogtreecommitdiff
path: root/malloc
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 /malloc
parent62c275822458dbee8d5c6d0447e0a6ef877a76a5 (diff)
downloadglibc-77e4b6fe4a4bfcb0b268894cb368d528088bdb65.tar.gz
(tests): Don't do it for cross compiling.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 2c57da933e..8b1313ebae 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