diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 08:51:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-19 08:51:55 +0100 |
commit | 9c928971167b6fc553f105b8141e214e6d06785f (patch) | |
tree | 4122a370742446db0909f7cc7e040162e67d003a /solenv | |
parent | 27e76ead71e86811f9720162df3eed504e2c29ad (diff) |
Blind attempt to fix PCH
...after 86ba184394094c7c043a505a20a0b1b8977f73d7 "Introduce
gb_*_set_external_code"
Change-Id: I6ed9652c6157b7cb2196f044f62c606968ef1807
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_class.mk | 1 | ||||
-rw-r--r-- | solenv/gbuild/platform/com_MSC_class.mk | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk index 59678bb394f7..0ce02d6779d2 100644 --- a/solenv/gbuild/platform/com_GCC_class.mk +++ b/solenv/gbuild/platform/com_GCC_class.mk @@ -171,6 +171,7 @@ $(call gb_Helper_abbreviate_dirs,\ $(4) $(5) \ $(gb_COMPILERDEPFLAGS) \ $(if $(VISIBILITY),,$(gb_VISIBILITY_FLAGS)) \ + $(if $(EXTERNAL_CODE),$(gb_CXXFLAGS_Wundef),$(gb_DEFS_INTERNAL)) \ $(6) \ $(call gb_cxx_dep_generation_options,$(1),$(call gb_PrecompiledHeader_get_dep_target,$(2))) \ -c $(patsubst %.cxx,%.hxx,$(3)) \ diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 92b6e2b0362e..40645277ff8d 100644 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -79,6 +79,7 @@ $(call gb_Helper_abbreviate_dirs,\ unset INCLUDE && \ $(gb_CXX) \ $(4) $(5) -Fd$(PDBFILE) \ + $(if $(EXTERNAL_CODE),,$(gb_DEFS_INTERNAL)) \ $(gb_LTOFLAGS) \ $(gb_COMPILERDEPFLAGS) \ -I$(dir $(3)) \ |