From: Marek Vavrusa Date: Tue, 2 Feb 2016 23:28:59 +0000 (+0000) Subject: build: fixed too early CFLAGS expansion X-Git-Tag: v1.0.0~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6171faeb671410cd467521e556d5bb22d6615353;p=thirdparty%2Fknot-resolver.git build: fixed too early CFLAGS expansion --- diff --git a/platform.mk b/platform.mk index 25052238a..d4464f0df 100644 --- a/platform.mk +++ b/platform.mk @@ -86,7 +86,7 @@ else $$(eval $$(call make_objs,$(1))) endif # Rules to generate objects with custom CFLAGS and binary/library -$$(foreach obj,$$($(1)_OBJ),$$(eval $$(call make_objrule,$$(obj),$(BUILD_CFLAGS) $$($(1)_CFLAGS)))) +$$(foreach obj,$$($(1)_OBJ),$$(eval $$(call make_objrule,$$(obj),$$(BUILD_CFLAGS) $$($(1)_CFLAGS)))) $(1) := $(2)/$(1)$(3) $(2)/$(1)$(3): $$($(1)_OBJ) $$($(1)_DEPEND) ifeq ($(4),-$(ARTYPE))