fix build with lto

Change-Id: If6544eae78a7f3d012368d62cc99d29160b1b47a
This commit is contained in:
Peter Foley 2013-03-01 18:49:40 -05:00
parent daec4883ba
commit b3d6c63596

View file

@ -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