path: root/sax
diff options
authorLuboš Luňák <>2019-09-22 20:28:38 +0200
committerLuboš Luňák <>2019-10-04 08:59:13 +0200
commit98dc4ec4957ffa520c9acb21d2477df36496a000 (patch)
treeab76a20e0660911584d91b444b7369d0ef383841 /sax
parent08d02b550a1aee0e109334384c260244d450d6a0 (diff)
support reusing PCH if linktarget has additional reasonable defines
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: Tested-by: Jenkins Reviewed-by: Luboš Luňák <>
Diffstat (limited to 'sax')
2 files changed, 4 insertions, 0 deletions
diff --git a/sax/ b/sax/
index 17a91e4d5904..f4d811886ca0 100644
--- a/sax/
+++ b/sax/
@@ -16,6 +16,8 @@ $(eval $(call gb_Library_set_include,expwrap,\
+$(eval $(call gb_Library_reuse_precompiled_header,expwrap,pch/inc/pch/precompiled_system))
$(eval $(call gb_Library_add_defs,expwrap,\
diff --git a/sax/ b/sax/
index 6ef11645f6f3..7fff54b7eed7 100644
--- a/sax/
+++ b/sax/
@@ -16,6 +16,8 @@ $(eval $(call gb_Library_set_include,sax,\
$(eval $(call gb_Library_use_external,sax,boost_headers))
+$(eval $(call gb_Library_reuse_precompiled_header,sax,pch/inc/pch/precompiled_system))
$(eval $(call gb_Library_use_sdk_api,sax))
$(eval $(call gb_Library_use_libraries,sax,\