From f690b56979dea81340a397c1b5e44827a6fb06e7 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 2 Aug 2016 17:01:02 +0200 Subject: malloc: Run tests without calling mallopt [BZ #19469] The compiled tests no longer refer to the mallopt symbol from their main functions. (Some tests still call mallopt explicitly, which is fine.) --- malloc/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'malloc') diff --git a/malloc/Makefile b/malloc/Makefile index fa1730e..4d5c81d 100644 --- a/malloc/Makefile +++ b/malloc/Makefile @@ -166,3 +166,7 @@ $(objpfx)libmemusage.so: $(libdl) # Extra dependencies $(foreach o,$(all-object-suffixes),$(objpfx)malloc$(o)): arena.c hooks.c + +# Compile the tests with a flag which suppresses the mallopt call in +# the test skeleton. +$(tests:%=$(objpfx)%.o): CPPFLAGS += -DTEST_NO_MALLOPT -- cgit v1.1