diff --git a/core/definitions.mk b/core/definitions.mk index e60d3d42ea..66859cdc83 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1300,13 +1300,12 @@ $(hide) $(RELATIVE_PWD) $(PRIVATE_CC) \ $(PRIVATE_HOST_GLOBAL_CONLYFLAGS) \ ) \ $(1) \ - $(PRIVATE_CFLAGS_NO_OVERRIDE) \ -MD -MF $(patsubst %.o,%.d,$@) -o $@ $< endef define transform-host-c-to-o-no-deps @echo "$($(PRIVATE_PREFIX)DISPLAY) C: $(PRIVATE_MODULE) <= $<" -$(call transform-host-c-or-s-to-o-no-deps, $(PRIVATE_CFLAGS) $(PRIVATE_CONLYFLAGS) $(PRIVATE_DEBUG_CFLAGS)) +$(call transform-host-c-or-s-to-o-no-deps, $(PRIVATE_CFLAGS) $(PRIVATE_CONLYFLAGS) $(PRIVATE_DEBUG_CFLAGS) $(PRIVATE_CFLAGS_NO_OVERRIDE)) endef define transform-host-s-to-o-no-deps @@ -1330,7 +1329,7 @@ endef define transform-host-m-to-o-no-deps @echo "$($(PRIVATE_PREFIX)DISPLAY) ObjC: $(PRIVATE_MODULE) <= $<" -$(call transform-host-c-or-s-to-o-no-deps, $(PRIVATE_CFLAGS) $(PRIVATE_DEBUG_CFLAGS)) +$(call transform-host-c-or-s-to-o-no-deps, $(PRIVATE_CFLAGS) $(PRIVATE_DEBUG_CFLAGS) $(PRIVATE_CFLAGS_NO_OVERRIDE)) endef define transform-host-m-to-o