[llvm-commits] [llvm] r145095 - /llvm/trunk/tools/gold/Makefile
Rafael Espindola
rafael.espindola at gmail.com
Tue Nov 22 19:07:25 PST 2011
Author: rafael
Date: Tue Nov 22 21:07:25 2011
New Revision: 145095
URL: http://llvm.org/viewvc/llvm-project?rev=145095&view=rev
Log:
Point to libLTO with -L/PATH/ -lLTO so that it is found in the install
directory.
Patch by Markus Trippelsdorf.
Modified:
llvm/trunk/tools/gold/Makefile
Modified: llvm/trunk/tools/gold/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/Makefile?rev=145095&r1=145094&r2=145095&view=diff
==============================================================================
--- llvm/trunk/tools/gold/Makefile (original)
+++ llvm/trunk/tools/gold/Makefile Tue Nov 22 21:07:25 2011
@@ -24,6 +24,6 @@
# 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
More information about the llvm-commits
mailing list