From 98dc4ec4957ffa520c9acb21d2477df36496a000 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sun, 22 Sep 2019 20:28:38 +0200 Subject: support reusing PCH if linktarget has additional reasonable defines MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Where reasonable means they are from a list of defines known not to affect the system headers, and so they are safe to differ from how the PCH was built. A bit hackish, but works in practice. Change-Id: Ia00d2e4c56212aca05ba9d47abbb0d253998219f Reviewed-on: https://gerrit.libreoffice.org/79364 Tested-by: Jenkins Reviewed-by: Luboš Luňák --- sax/Library_expwrap.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sax/Library_expwrap.mk') diff --git a/sax/Library_expwrap.mk b/sax/Library_expwrap.mk index 17a91e4d5904..f4d811886ca0 100644 --- a/sax/Library_expwrap.mk +++ b/sax/Library_expwrap.mk @@ -16,6 +16,8 @@ $(eval $(call gb_Library_set_include,expwrap,\ $$(INCLUDE) \ )) +$(eval $(call gb_Library_reuse_precompiled_header,expwrap,pch/inc/pch/precompiled_system)) + $(eval $(call gb_Library_add_defs,expwrap,\ -DFASTSAX_DLLIMPLEMENTATION \ )) -- cgit