about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-03 00:46:46 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-07-03 00:46:46 +0530
commit7df5c7bcce5c3e6f6984441d9c4851dba5aacac5 (patch)
treedb859e3e12a8dbcbbcda42ac63d0ced228d6464f
parentdfec225ee1972488bb48a8b67a2c4a13010c334a (diff)
downloadglibc-7df5c7bcce5c3e6f6984441d9c4851dba5aacac5.tar.gz
glibc-7df5c7bcce5c3e6f6984441d9c4851dba5aacac5.tar.xz
glibc-7df5c7bcce5c3e6f6984441d9c4851dba5aacac5.zip
Drop source dependencies on hooks.c and arena.c
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.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Reviewed-by: Andreas Schwab <schwab@linux-m68k.org>
-rw-r--r--malloc/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/malloc/Makefile b/malloc/Makefile
index c8256abbbf..2f9b3d596d 100644
--- a/malloc/Makefile
+++ b/malloc/Makefile
@@ -269,10 +269,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