]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
build: fixed too early CFLAGS expansion
authorMarek Vavrusa <marek@vavrusa.com>
Tue, 2 Feb 2016 23:28:59 +0000 (23:28 +0000)
committerMarek Vavrusa <marek@vavrusa.com>
Tue, 2 Feb 2016 23:28:59 +0000 (23:28 +0000)
platform.mk

index 25052238a0b72f8f7e62d2ba1c9eb9c0299b91ee..d4464f0df9cc0a13dd0ff1617697852fdaa7491a 100644 (file)
@@ -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))