diff options
Diffstat (limited to 'Makefile.inc')
-rw-r--r-- | Makefile.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.inc b/Makefile.inc index 984c886819..8be9b5a50d 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -169,8 +169,7 @@ define generic-objs_ld_template_gen de$(EMPTY)fine $(1)-objs_ld_template $$(call src-to-obj,$1,$$(1).ld): $$(1).ld $(obj)/config.h @printf " CP $$$$(subst $$$$(obj)/,,$$$$(@))\n" - $$(CC_$(1)) $$(CPPFLAGS_$(1)) $($(1)-ld-ccopts) $(PREPROCESS_ONLY) -include $(obj)/config.h $$$$< > $$$$@.tmp - mv $$$$@.tmp $$$$@ + $$(CC_$(1)) -MMD $$(CPPFLAGS_$(1)) $$($(1)-ld-ccopts) $(PREPROCESS_ONLY) -include $(obj)/config.h -MT $$$$@ -o $$$$@ $$$$< en$(EMPTY)def endef |