[llvm-commits] [llvm] r132349 - /llvm/trunk/tools/gold/Makefile
Nick Lewycky
nicholas at mxc.ca
Tue May 31 12:53:26 PDT 2011
Author: nicholas
Date: Tue May 31 14:53:26 2011
New Revision: 132349
URL: http://llvm.org/viewvc/llvm-project?rev=132349&view=rev
Log:
Make the gold plugin build on Cygwin as well as Linux. Patch by David Meyer!
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=132349&r1=132348&r2=132349&view=diff
==============================================================================
--- llvm/trunk/tools/gold/Makefile (original)
+++ llvm/trunk/tools/gold/Makefile Tue May 31 14:53:26 2011
@@ -22,10 +22,10 @@
LOADABLE_MODULE = 1
LINK_COMPONENTS := support
-LIBS += -llto
# 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 -lLTO
+CXXFLAGS+=$(SharedLibDir)/$(SharedPrefix)LTO$(SHLIBEXT)
include $(LEVEL)/Makefile.common
More information about the llvm-commits
mailing list