diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-07-20 14:03:53 +0200 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2016-07-21 23:28:22 +0000 |
commit | ad3f7d1bd65a3ac6295a50171488cef6ebfb0a73 (patch) | |
tree | bee4c8884444a5d7f484a647abe80c5bc92927c9 /solenv | |
parent | 7592a83e297540cde873b0bf65d4d2095e6a8d3e (diff) |
gbuild: set CCACHE_CPP2 automatically with --enable-compiler-plugin
The plugins are confused about source file locations without
CCACHE_CPP2, so try to avoid having to set it manually.
Change-Id: I8c19cb1b4bea27963b2f416faa67a70c6c65da38
Reviewed-on: https://gerrit.libreoffice.org/27344
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index 712ab4dd036b..8f26cbf8b81a 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -219,7 +219,7 @@ gb_COMPILER_PLUGINS += -Xclang -plugin-arg-loplugin -Xclang --scope=$(UPDATE_FIL endif endif # extra EF variable to make the command line shorter (just like is done with $(SRCDIR) etc.) -gb_COMPILER_PLUGINS_SETUP := EF=$(SRCDIR)/include/sal/log-areas.dox && ICECC_EXTRAFILES=$$EF CCACHE_EXTRAFILES=$$EF +gb_COMPILER_PLUGINS_SETUP := EF=$(SRCDIR)/include/sal/log-areas.dox && ICECC_EXTRAFILES=$$EF CCACHE_EXTRAFILES=$$EF CCACHE_CPP2=1 gb_COMPILER_PLUGINS_WARNINGS_AS_ERRORS := \ -Xclang -plugin-arg-loplugin -Xclang --warnings-as-errors else |