aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-11-06 06:46:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-11-10 04:54:18 -0800
commit0bd356df1afb0591470499813d4ebae9bcedd6a6 (patch)
tree159741e850362678bad52cdbc11691d27df76e23 /Makerules
parent824dd3ec4922fbb9a34c62f4829e7817cc60e29a (diff)
downloadglibc-0bd356df1afb0591470499813d4ebae9bcedd6a6.zip
glibc-0bd356df1afb0591470499813d4ebae9bcedd6a6.tar.gz
glibc-0bd356df1afb0591470499813d4ebae9bcedd6a6.tar.bz2
Remove the unused +mkdep/+make-deps/s-proto.S/s-proto-cancel.S
Since commit d73f5331ce5370ca5a879229e3842f5de98689cd Author: Roland McGrath <roland@gnu.org> Date: Fri May 2 02:20:45 2003 +0000 2003-05-01 Roland McGrath <roland@redhat.com> dependency is generated by passing -MD -MF to compiler. Remove the unused +mkdep, +make-deps, s-proto.S and s-proto-cancel.S. This fixes BZ #28554.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules9
1 files changed, 0 insertions, 9 deletions
diff --git a/Makerules b/Makerules
index 3503605..8db0ca1 100644
--- a/Makerules
+++ b/Makerules
@@ -459,15 +459,6 @@ compile-stdin.c = $(COMPILE.c) -o $@ -x c - $(compile-mkdep-flags)
# get the wrong predefines.
S-CPPFLAGS = -DASSEMBLER $(asm-CPPFLAGS)
-define +make-deps
-$(make-target-directory)
-$(+mkdep) $< $(if $(filter %.c,$<),$(CFLAGS)) \
- $(CPPFLAGS) $($(patsubst .%,%,$(suffix $(<F)))-CPPFLAGS) | sed -e\
-'s,$(subst .,\.,$(@F:.d=.o)),$(foreach o,$(all-object-suffixes),$(@:.d=$o)) $@,' \
-$(sed-remove-objpfx) $(sed-remove-dotdot) > $(@:.d=.T)
-mv -f $(@:.d=.T) $@
-endef
-
ifneq (,$(objpfx))
# Continuation lines here are dangerous because they introduce spaces!
define sed-remove-objpfx