diff --git a/src/include/defaults.mk b/src/include/defaults.mk index 9024a3a1..25e32694 100644 --- a/src/include/defaults.mk +++ b/src/include/defaults.mk @@ -71,13 +71,13 @@ override SOFLAGS = $(_SOFLAGS) \ -Wl,--version-script=$(MAP) \ $(call family,SOFLAGS) -HOST_CPPFLAGS ?= $(CPPFLAGS) +HOST_CPPFLAGS ?= override _HOST_CPPFLAGS := $(HOST_CPPFLAGS) override HOST_CPPFLAGS = $(_HOST_CPPFLAGS) \ -DEFIVAR_BUILD_ENVIRONMENT HOST_CFLAGS_GCC ?= HOST_CFLAGS_CLANG ?= -HOST_CFLAGS ?= $(CFLAGS) $(call family,HOST_CFLAGS) +HOST_CFLAGS ?= $(call family,HOST_CFLAGS) override _HOST_CFLAGS := $(HOST_CFLAGS) override HOST_CFLAGS = $(_HOST_CFLAGS) HOST_LDFLAGS_CLANG ?= -Wl,--fatal-warnings,-z,relro -rtlib=compiler-rt