diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-02-07 20:42:40 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-02-10 10:10:46 +0100 |
commit | 396d1019413ea6d7e3965e47beae0837d2cf84f2 (patch) | |
tree | e391deb3089a354eb82e2a9a6a73f377aee96b71 /sax | |
parent | 67770fc41f409e9d7e179b34eb84434ed237a6ce (diff) |
add BLOCK_PCH to gbuild, allowing partial non-PCH rebuilds
Both MSVC and Clang (with -building-pch-with-obj) generate one extra
object file for code from the PCH, saving repeated generating of this
code for every object using the PCH. This causes problems when
temporarily disabling PCH by doing 'make ENABLE_PCH=' (e.g. when
checking #include's are correct), as this object would no longer be
linked in, and objects not rebuilt with PCH disabled would still need
it.
This patch allows doing 'make BLOCK_PCH=1' instead, which will disable
PCH with the exception of this object file still getting linked in.
Change-Id: I8fcb150ef27ebb34118d62739a1a1558aa1a6f3d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88341
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sax')
0 files changed, 0 insertions, 0 deletions