[llvm] r211675 - Fix unresolved symbols when loading gold plugin
Alexey Volkov
avolkov.intel at gmail.com
Wed Jun 25 01:04:58 PDT 2014
Author: volkalex
Date: Wed Jun 25 03:04:58 2014
New Revision: 211675
URL: http://llvm.org/viewvc/llvm-project?rev=211675&view=rev
Log:
Fix unresolved symbols when loading gold plugin
Differential Revision: http://reviews.llvm.org/D4275
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=211675&r1=211674&r2=211675&view=diff
==============================================================================
--- llvm/trunk/tools/gold/Makefile (original)
+++ llvm/trunk/tools/gold/Makefile Wed Jun 25 03:04:58 2014
@@ -9,7 +9,6 @@
LEVEL := ../..
LIBRARYNAME := LLVMgold
-LINK_COMPONENTS := support
LINK_LIBS_IN_SHARED := 1
SHARED_LIBRARY := 1
LOADABLE_MODULE := 1
@@ -21,6 +20,8 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/g
# early so we can set up LINK_COMPONENTS before including Makefile.rules
include $(LEVEL)/Makefile.config
+LINK_COMPONENTS := $(TARGETS_TO_BUILD) LTO
+
# 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
@@ -28,4 +29,3 @@ LDFLAGS += -L$(SharedLibDir)/$(SharedPre
include $(LEVEL)/Makefile.common
-LIBS += -lLTO
More information about the llvm-commits
mailing list