summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@centrum.cz>2021-11-28 19:21:18 +0100
committerLuboš Luňák <l.lunak@collabora.com>2021-11-29 19:46:23 +0100
commit973cf26280f80177f5e78d828ddf0cf69ce6a3a1 (patch)
tree0e80f5baed7bd27cd9ca480b9476f0502450ce0b /solenv
parenta5792c32f342b3d5087c62c7a65deed4c1d1dc1c (diff)
clang-cl: do not complain about precompiled_xxx.hxx include
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 <l.lunak@collabora.com>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_MSC_class.mk3
1 files changed, 2 insertions, 1 deletions
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