From b3d6c635966ed20e2c9e4e6be6ced03d2358563c Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Fri, 1 Mar 2013 18:49:40 -0500 Subject: [PATCH] fix build with lto Change-Id: If6544eae78a7f3d012368d62cc99d29160b1b47a --- solenv/gbuild/platform/unxgcc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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