diff options
author | Martin Liška <mliska@suse.cz> | 2014-03-26 13:22:05 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-04-03 14:09:52 +0200 |
commit | d7cb910ad888401335552835314d689a49351924 (patch) | |
tree | 52897666db51bbcfd31671b3c53551d9670ad064 /solenv/gbuild/platform | |
parent | 84c04d73e6f80120c2fc7d17dd12e3b68214a63b (diff) |
gbuild: enable LTO parallelism for GCC
Change-Id: Id0be70056645a5fa5df49aa5186e3187c719e048
Diffstat (limited to 'solenv/gbuild/platform')
-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 93d3fe75d3f3..8e9688825653 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 |