From 77e4b6fe4a4bfcb0b268894cb368d528088bdb65 Mon Sep 17 00:00:00 2001
From: Andreas Jaeger <aj@suse.de>
Date: Fri, 25 Aug 2000 09:02:59 +0000
Subject: (tests): Don't do it for cross compiling.

---
 malloc/Makefile | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'malloc')

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
-- 
cgit v1.2.1