[Libreoffice-commits] core.git: solenv/gbuild
Martin Liška
mliska at suse.cz
Thu Apr 3 05:10:23 PDT 2014
solenv/gbuild/platform/com_GCC_defs.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d7cb910ad888401335552835314d689a49351924
Author: Martin Liška <mliska at suse.cz>
Date: Wed Mar 26 13:22:05 2014 +0100
gbuild: enable LTO parallelism for GCC
Change-Id: Id0be70056645a5fa5df49aa5186e3187c719e048
diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
index 93d3fe7..8e96888 100644
--- a/solenv/gbuild/platform/com_GCC_defs.mk
+++ b/solenv/gbuild/platform/com_GCC_defs.mk
@@ -98,7 +98,7 @@ ifeq ($(ENABLE_LTO),TRUE)
ifeq ($(COM_GCC_IS_CLANG),TRUE)
gb_LTOFLAGS := -flto
else
-gb_LTOFLAGS := -flto -fuse-linker-plugin -O2
+gb_LTOFLAGS := -flto=$(PARALLELISM) -fuse-linker-plugin -O2
endif
endif
More information about the Libreoffice-commits
mailing list