From 973cf26280f80177f5e78d828ddf0cf69ce6a3a1 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 28 Nov 2021 19:21:18 +0100 Subject: clang-cl: do not complain about precompiled_xxx.hxx include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was complaining about the header being found using non-standard Microsoft seach rules. Change-Id: I1872515b638f4181b32126c8a932105fdcbdb9f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126023 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- solenv/gbuild/platform/com_MSC_class.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 16eb6c2ee4d3..2ca7466836b5 100644 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -118,7 +118,8 @@ $(call gb_Helper_abbreviate_dirs,\ $(gb_COMPILERDEPFLAGS) \ $(5) \ -c $(3) \ - -Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) $(call gb_create_deps,$(call gb_PrecompiledHeader_get_dep_target_tmp,$(2),$(6)),$(1),$(3)) + -Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -I$(dir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) \ + $(call gb_create_deps,$(call gb_PrecompiledHeader_get_dep_target_tmp,$(2),$(6)),$(1),$(3)) $(call gb_Trace_EndRange,$(2),PCH) endef -- cgit