(+make-deps): Use $(CFLAGS) in run of $(+mkdep) so that optimizing is
authordrepper <drepper>
Mon, 21 Jul 1997 23:36:27 +0000 (23:36 +0000)
committerdrepper <drepper>
Mon, 21 Jul 1997 23:36:27 +0000 (23:36 +0000)
also selected for dependency generation.

Makerules

index fb9eebe..ba0116b 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -313,7 +313,7 @@ S-CPPFLAGS = $(asm-CPPFLAGS)
 define +make-deps
 $(make-target-directory)
 -@rm -f $@
-$(+mkdep) $< $(CPPFLAGS) $($(<:$*.%=%)-CPPFLAGS) | \
+$(+mkdep) $< $(CFLAGS) $(CPPFLAGS) $($(<:$*.%=%)-CPPFLAGS) | \
 sed \
 -e 's,$(subst .,\.,$*)\.o,$(foreach o,$(all-object-suffixes),$(@:.d=$o)) $@,' \
 $(sed-remove-objpfx) > $(@:.d=.T)