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 /external | |
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 'external')
-rw-r--r-- | external/skia/Library_skia.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/external/skia/Library_skia.mk b/external/skia/Library_skia.mk index feda0793b566..7712c6be9e77 100644 --- a/external/skia/Library_skia.mk +++ b/external/skia/Library_skia.mk @@ -29,7 +29,7 @@ $(eval $(call gb_Library_add_defs,skia,\ ifeq ($(ENABLE_SKIA_DEBUG),) $(eval $(call gb_Library_add_cxxflags,skia, \ $(gb_COMPILEROPTFLAGS) \ - $(PCH_NO_MODULES_CODEGEN) \ + $(PCH_NO_CODEGEN) \ )) endif |