diff options
author | Don Lewis <truckman@apache.org> | 2016-08-28 05:41:36 +0000 |
---|---|---|
committer | Don Lewis <truckman@apache.org> | 2016-08-28 05:41:36 +0000 |
commit | 9491ff38f520bda897c8425eb642bace41702682 (patch) | |
tree | 7fee0233ff62d0c365ccced1385678763fd4aa84 /solenv/gbuild/LinkTarget.mk | |
parent | 9ebe53ffa5e53bd40917de9db539f63abb32a634 (diff) |
Follow up to r1758061. Only pass -DPRECOMPILED_HEADERS to the compiler
when the precompiled header is actually going to be used.
Notes
Notes:
ignore: obsolete
Diffstat (limited to 'solenv/gbuild/LinkTarget.mk')
-rw-r--r-- | solenv/gbuild/LinkTarget.mk | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index b875846cacb5..0bc6d59f3d9c 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -717,14 +717,11 @@ $(call gb_LinkTarget_get_target,$(1)) : PCH_NAME := $(3) $(call gb_LinkTarget_get_target,$(1)) : PCHOBJS = $(call gb_PrecompiledHeader_get_target,$(3)).obj $(call gb_NoexPrecompiledHeader_get_target,$(3)).obj $(call gb_LinkTarget_get_headers_target,$(1)) \ -$(call gb_LinkTarget_get_target,$(1)) : DEFS := $$(DEFS) -DPRECOMPILED_HEADERS -$(call gb_LinkTarget_get_headers_target,$(1)) \ $(call gb_LinkTarget_get_target,$(1)) : PCH_DEFS = $$(DEFS) ifeq ($(gb_FULLDEPS),$(true)) -include \ $(call gb_PrecompiledHeader_get_dep_target,$(3)) \ $(call gb_NoexPrecompiledHeader_get_dep_target,$(3)) -$(call gb_LinkTarget_get_dep_target,$(1)) : DEFS := $$(DEFS) -DPRECOMPILED_HEADERS $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_NAME := $(3) $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_DEFS = $$(DEFS) endif |