[Libreoffice-commits] core.git: solenv/gbuild
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 22 00:31:14 UTC 2021
solenv/gbuild/LinkTarget.mk | 1 +
1 file changed, 1 insertion(+)
New commits:
commit bb09bfd25f25fb959123df1c01a52b8dffa97f50
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Sep 22 00:39:50 2021 +0200
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Sep 22 02:30:35 2021 +0200
make .pch file also depend on its source .hxx file
This dependency is normally handled by either the .pch not existing
(and so it needs building), or GCC/Clang output it in the deps,
but MSVC doesn't seem to provide this dependency, so modifying
the .hxx there doesn't trigger a rebuild.
Change-Id: I83415d97b98b8861b3d53cba07c4ac2748e9f476
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122413
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index 91dc20adc72f..e047eeff2cc0 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -1778,6 +1778,7 @@ endef
define gb_LinkTarget__set_precompiled_header_impl
$(call gb_LinkTarget_get_clean_target,$(1)) : $(call gb_PrecompiledHeader_get_clean_target,$(3))
$(call gb_PrecompiledHeader_get_target,$(3),$(4)) : $(call gb_CxxObject_get_source,$(SRCDIR),$(2))
+$(call gb_PrecompiledHeader_get_target,$(3),$(4)) : $(patsubst %.cxx,%.hxx,$(call gb_CxxObject_get_source,$(SRCDIR),$(2)))
$(call gb_PrecompiledHeader_get_target,$(3),$(4)) : $(call gb_LinkTarget_get_headers_target,$(1))
More information about the Libreoffice-commits
mailing list