diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-06-22 15:09:39 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-01-18 14:56:12 +0100 |
commit | 7162d047941c721577b8719323fce7f3be5212fc (patch) | |
tree | f0c63b69bc0e042a6082a259c1c24a3ee8f34aaf /config_host.mk.in | |
parent | 7dc50ca94ad6cc47561662424e163250a8e5957e (diff) |
add support for Clang's -building-pch-with-obj
This marks the PCH as having an accompanying object file, and
this object file needs to be also built, but this allows the compiler
to skip generating stuff that'd be shared by all the objects using
the PCH. Currently it doesn't make much of a difference, few symbols
if any, but template instantiations could be shared this way, as
soon as Clang gets the necessary support (my WIP patch).
Change-Id: Ib1b86338d85a47b48979558435253dc2672a0da8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87009
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 1cf941b4a5da..e1cddb295964 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -55,6 +55,7 @@ export BUILD_UNOWINREG=@BUILD_UNOWINREG@ export BUILD_VER_STRING=@BUILD_VER_STRING@ export BUILD_X64=@BUILD_X64@ export BUILD_X86=@BUILD_X86@ +export BUILDING_PCH_WITH_OBJ=@BUILDING_PCH_WITH_OBJ@ export BZIP2_CFLAGS=$(gb_SPACE)@BZIP2_CFLAGS@ export BZIP2_LIBS=$(gb_SPACE)@BZIP2_LIBS@ export CAIRO_CFLAGS=$(gb_SPACE)@CAIRO_CFLAGS@ |