From 60e06d6ac2b9943537e2e22c3dfc324ae71b23e3 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 23 Nov 2011 03:07:25 +0000 Subject: Point to libLTO with -L/PATH/ -lLTO so that it is found in the install directory. Patch by Markus Trippelsdorf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145095 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/gold/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/gold/Makefile') diff --git a/tools/gold/Makefile b/tools/gold/Makefile index 78eda03e34..02f66d73ee 100644 --- a/tools/gold/Makefile +++ b/tools/gold/Makefile @@ -24,6 +24,6 @@ include $(LEVEL)/Makefile.config # Because off_t is used in the public API, the largefile parts are required for # ABI compatibility. CXXFLAGS += -I$(BINUTILS_INCDIR) -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -CXXFLAGS += $(SharedLibDir)/$(SharedPrefix)LTO$(SHLIBEXT) +CXXFLAGS += -L$(SharedLibDir)/$(SharedPrefix) -lLTO include $(LEVEL)/Makefile.common -- cgit v1.2.3