diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2020-09-30 11:31:55 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2020-09-30 16:46:49 +0200 |
commit | 528ca2cec5b3e2a6f0c0d8719a4ad81d90920c9a (patch) | |
tree | 140d605c58f16f25f8cb6fdc31f2abf41633b475 /config_host.mk.in | |
parent | 2be04eb4de522bc3aac0449721dd38afebf2ec63 (diff) |
use -fpch-codegen rather than -fmodules-codegen
The -fmodules-codegen flag has been in Clang for quite a while, but it
officially works with PCHs only with Clang11+, and even there's
it's better to use the properly named -fpch-codegen. This also
fixes a problem with Clang9 having only -fmodules-codegen but
not the -fno-* variant, causing the build to break.
Change-Id: I9a8c979426f95e8c1f77cbeab1df64390d7243b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103677
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config_host.mk.in b/config_host.mk.in index 41a3f76c2b44..6fff52b8a74c 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -470,9 +470,9 @@ 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 PCH_NO_MODULES_CODEGEN=@PCH_NO_MODULES_CODEGEN@ +export PCH_CODEGEN=@PCH_CODEGEN@ +export PCH_DEBUGINFO=@PCH_DEBUGINFO@ +export PCH_NO_CODEGEN=@PCH_NO_CODEGEN@ export PERL=@PERL@ export PKGFORMAT=@PKGFORMAT@ export PKGMK=@PKGMK@ |