]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Drop source dependencies on hooks.c and arena.c
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 2 Jul 2021 19:16:46 +0000 (00:46 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 2 Jul 2021 19:16:46 +0000 (00:46 +0530)
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>
malloc/Makefile

index c8256abbbf62ef61811cc8892ddf0b6505bc0936..2f9b3d596d3a70cb47e8a28a8d3b18edd1441e9c 100644 (file)
@@ -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