about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-10-24 00:08:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-10-24 00:08:46 +0000
commit03ac099f6bc9157cdec50db10944e1d99ff07aa1 (patch)
tree9d818c011b71b40675d7de9779f1a4751fc5541c /malloc
parentebfd1bbd04fcc82c34d6f46d942ab763a60ede03 (diff)
downloadglibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.gz
glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.tar.xz
glibc-03ac099f6bc9157cdec50db10944e1d99ff07aa1.zip
Define and use $(run-built-tests).
Diffstat (limited to 'malloc')
-rw-r--r--malloc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index 9dd0336d9e..1e0281f9fa 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -104,7 +104,7 @@ $(objpfx)libmcheck.a: $(objpfx)mcheck-init.o
 
 lib: $(objpfx)libmcheck.a
 
-ifeq (no,$(cross-compiling))
+ifeq ($(run-built-tests),yes)
 ifeq (yes,$(build-shared))
 ifneq ($(PERL),no)
 tests: $(objpfx)tst-mtrace.out