[Libreoffice-commits] core.git: solenv/gbuild
Stephan Bergmann
sbergman at redhat.com
Wed Feb 19 23:20:03 PST 2014
solenv/gbuild/platform/com_GCC_defs.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7dc6659f7e5bd951ea3dcf8a6596781e0c0b3114
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Feb 20 08:19:29 2014 +0100
Allow COMPILER_PLUGIN_TOOL to carry mulitple plugin names
Change-Id: I6e1655287939cf0d36fb6a84aaafc37c88fbceba
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 761765f..de77c7b 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -163,7 +163,7 @@ gb_COMPILER_PLUGINS += -Xclang -plugin-arg-loplugin -Xclang \
--warnings-only='$(COMPILER_PLUGIN_WARNINGS_ONLY)'
endif
else
-gb_COMPILER_PLUGINS := -Xclang -load -Xclang $(BUILDDIR)/compilerplugins/obj/plugin.so -Xclang -plugin -Xclang loplugin -Xclang -plugin-arg-loplugin -Xclang $(COMPILER_PLUGIN_TOOL)
+gb_COMPILER_PLUGINS := -Xclang -load -Xclang $(BUILDDIR)/compilerplugins/obj/plugin.so -Xclang -plugin -Xclang loplugin $(foreach plugin,$(COMPILER_PLUGIN_TOOL), -Xclang -plugin-arg-loplugin -Xclang $(plugin))
ifneq ($(UPDATE_FILES),)
gb_COMPILER_PLUGINS += -Xclang -plugin-arg-loplugin -Xclang --scope=$(UPDATE_FILES)
endif
More information about the Libreoffice-commits
mailing list