Commit 6171faeb authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

build: fixed too early CFLAGS expansion

parent 3e3adf89
...@@ -86,7 +86,7 @@ else ...@@ -86,7 +86,7 @@ else
$$(eval $$(call make_objs,$(1))) $$(eval $$(call make_objs,$(1)))
endif endif
# Rules to generate objects with custom CFLAGS and binary/library # 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) $(1) := $(2)/$(1)$(3)
$(2)/$(1)$(3): $$($(1)_OBJ) $$($(1)_DEPEND) $(2)/$(1)$(3): $$($(1)_OBJ) $$($(1)_DEPEND)
ifeq ($(4),-$(ARTYPE)) ifeq ($(4),-$(ARTYPE))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment