From 83ed27ef9daf9c5f65fc672a2da7860e59e92bf9 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Mon, 20 Dec 2010 09:35:39 -0600 Subject: [PATCH] fixed pch for full builds without an explicit setting of defs with _set_defs --- solenv/gbuild/LinkTarget.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index a00c71244bb7..1704b09e633c 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -300,6 +300,7 @@ $(call gb_LinkTarget_get_target,$(1)) : CXXFLAGS := $$(gb_LinkTarget_CXXFLAGS) $(call gb_LinkTarget_get_headers_target,$(1)) \ $(call gb_LinkTarget_get_target,$(1)) : PCH_CXXFLAGS := $$(gb_LinkTarget_CXXFLAGS) $(call gb_LinkTarget_get_target,$(1)) : OBJCXXFLAGS := $$(gb_LinkTarget_OBJCXXFLAGS) +$(call gb_LinkTarget_get_headers_target,$(1)) \ $(call gb_LinkTarget_get_target,$(1)) : DEFS := $$(gb_LinkTarget_DEFAULTDEFS) $(call gb_LinkTarget_get_headers_target,$(1)) \ $(call gb_LinkTarget_get_target,$(1)) : PCH_DEFS := $$(gb_LinkTarget_DEFAULTDEFS) @@ -341,10 +342,7 @@ $(call gb_LinkTarget_get_headers_target,$(1)) \ $(call gb_LinkTarget_get_target,$(1)) : PCH_DEFS := $(2) ifeq ($(gb_FULLDEPS),$(true)) -$(call gb_LinkTarget_get_target,$(1)) \ $(call gb_LinkTarget_get_dep_target,$(1)) : DEFS := $(2) -$(call gb_LinkTarget_get_target,$(1)) \ -$(call gb_LinkTarget_get_headers_target,$(1)) \ $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_DEFS := $(2) endif