summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2011-09-12 12:46:20 +0200
committerMichael Meeks <michael.meeks@novell.com>2011-09-12 12:47:12 +0200
commit473ba86d1307bccc2d5e22dcc360df75011bc2bc (patch)
tree4bef14541dd6dbb1f5803357a297de8e7a01fffc /solenv
parentstart of embedding check-button & cui code cleanup (diff)
downloadcore-473ba86d1307bccc2d5e22dcc360df75011bc2bc.tar.gz
core-473ba86d1307bccc2d5e22dcc360df75011bc2bc.zip
fix link time optimisation flags to use linker plugin & optimisation
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/unxgcc.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 5c71bd44989e..362b378fee7e 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -126,6 +126,7 @@ endif
ifeq ($(ENABLE_LTO),TRUE)
gb_Library_LTOFLAGS := -flto
+gb_LinkTarget_LDFLAGS += -fuse-linker-plugin $(gb_COMPILERDEFAULTOPTFLAGS)
endif
ifneq ($(strip $(SYSBASE)),)