diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-07-17 12:05:58 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-07-17 13:30:55 +0200 |
commit | d60dc145adf15cf9d06ea191dfd4b2f4c5c3fc33 (patch) | |
tree | 3fbb63f8f5c8bbe509016c1d90ac82a2fca2eb35 /config_host.mk.in | |
parent | 621514cf1dbb089a6da35da7f8c43d0a3c645fa7 (diff) |
use Clang11's -fpch-instantiate-templates if available
The optimization to instantiate templates already while creating
the PCH instead for every single compilation has been finally
accepted upstream, but it's opt-in.
Change-Id: Ia6456df05512329fc594f9ed0e400250c4f5029e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98948
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'config_host.mk.in')
-rw-r--r-- | config_host.mk.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in index 5b50b6f8ebe2..f0383acb318d 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -463,6 +463,7 @@ export PATH=@LO_PATH@ export LIBO_PATH_SEPARATOR=@P_SEP@ export PAGEMAKER_CFLAGS=$(gb_SPACE)@PAGEMAKER_CFLAGS@ export PAGEMAKER_LIBS=$(gb_SPACE)@PAGEMAKER_LIBS@ +export PCH_INSTANTIATE_TEMPLATES=@PCH_INSTANTIATE_TEMPLATES@ export PCH_MODULES_CODEGEN=@PCH_MODULES_CODEGEN@ export PCH_MODULES_DEBUGINFO=@PCH_MODULES_DEBUGINFO@ export PERL=@PERL@ |