* [PATCH] Drop source dependencies on hooks.c and arena.c
@ 2021-07-02 10:00 Siddhesh Poyarekar
0 siblings, 0 replies; only message in thread
From: Siddhesh Poyarekar @ 2021-07-02 10:00 UTC (permalink / raw)
To: libc-alpha; +Cc: Andreas Schwab
Dependencies on hooks.c and arena.c get auto-computed when generating
malloc.o{,s}.d so there is no need to add them manually.
---
malloc/Makefile | 4 ----
1 file changed, 4 deletions(-)
diff --git a/malloc/Makefile b/malloc/Makefile
index 9bc2e50a9a..ebadc4bd49 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -244,10 +244,6 @@ $(objpfx)memusage: memusage.sh
-e 's|@REPORT_BUGS_TO@|$(REPORT_BUGS_TO)|' $^ > $@.new \
&& rm -f $@ && mv $@.new $@ && chmod +x $@
-
-# 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
--
2.31.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-02 10:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02 10:00 [PATCH] Drop source dependencies on hooks.c and arena.c Siddhesh Poyarekar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).