Point to libLTO with -L/PATH/ -lLTO so that it is found in the install

directory.
Patch by Markus Trippelsdorf.

llvm-svn: 145095
This commit is contained in:
Rafael Espindola 2011-11-23 03:07:25 +00:00
parent a357b0a5ee
commit 17a991f91c

View File

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