mirror of git://sourceware.org/git/glibc.git
* malloc/Makefile (tests): Run mtrace only when perl is available.
Reported by Achim Gottinger <achim@gentoo.org>.
This commit is contained in:
parent
cf61f83f78
commit
9317ba7c6b
|
|
@ -100,11 +100,13 @@ lib: $(objpfx)libmcheck.a
|
||||||
|
|
||||||
ifeq (no,$(cross-compiling))
|
ifeq (no,$(cross-compiling))
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
|
ifneq ($(PERL),no)
|
||||||
tests: $(objpfx)tst-mtrace.out
|
tests: $(objpfx)tst-mtrace.out
|
||||||
$(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
|
$(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
|
||||||
$(SHELL) -e $< $(common-objpfx)
|
$(SHELL) -e $< $(common-objpfx)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Uncomment this for test releases. For public releases it is too expensive.
|
# Uncomment this for test releases. For public releases it is too expensive.
|
||||||
#CPPFLAGS-malloc.o += -DMALLOC_DEBUG
|
#CPPFLAGS-malloc.o += -DMALLOC_DEBUG
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue