[Libreoffice-commits] core.git: solenv/gbuild
Michael Stahl
mstahl at redhat.com
Thu Jul 21 23:28:49 UTC 2016
solenv/gbuild/platform/com_GCC_defs.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ad3f7d1bd65a3ac6295a50171488cef6ebfb0a73
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Jul 20 14:03:53 2016 +0200
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 at libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 712ab4d..8f26cbf 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
More information about the Libreoffice-commits
mailing list