From ad3f7d1bd65a3ac6295a50171488cef6ebfb0a73 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 20 Jul 2016 14:03:53 +0200 Subject: 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 Reviewed-by: Norbert Thiebaud --- solenv/gbuild/platform/com_GCC_defs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'solenv') 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 -- cgit