summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-01 18:49:40 -0500
committerPeter Foley <pefoley2@verizon.net>2013-03-01 18:50:03 -0500
commitb3d6c635966ed20e2c9e4e6be6ced03d2358563c (patch)
treec81616615539134922a5eef9d2763ada4a586173 /solenv
parentdaec4883baf9be9d814ddc92efe703bc9e282f39 (diff)
fix build with lto
Change-Id: If6544eae78a7f3d012368d62cc99d29160b1b47a
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/unxgcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index 206a598d14d6..1b85ced58a8e 100644
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -106,7 +106,7 @@ endif
ifeq ($(ENABLE_LTO),TRUE)
ifneq ($(COM_GCC_IS_CLANG),TRUE)
-gb_LinkTarget_LDFLAGS += -fuse-linker-plugin $(gb_COMPILERDEFAULTOPTFLAGS)
+gb_LinkTarget_LTOFLAGS += -fuse-linker-plugin $(gb_COMPILERDEFAULTOPTFLAGS)
endif
endif