Minor cleanup related to my latest scheduler changes.
[oota-llvm.git] / tools / gold / Makefile
index eccffcbda6b912edbaa5621e719034277826b1ce..66a0271fa25769b519758a830c9b8b8b32bd6754 100644 (file)
@@ -10,6 +10,8 @@
 LEVEL = ../..
 LIBRARYNAME = LLVMgold
 
+EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/gold.exports
+
 # Include this here so we can get the configuration of the targets
 # that have been configured for construction. We have to do this 
 # early so we can set up LINK_COMPONENTS before including Makefile.rules
@@ -17,14 +19,13 @@ include $(LEVEL)/Makefile.config
 
 LINK_LIBS_IN_SHARED=1
 SHARED_LIBRARY = 1
-BUILD_ARCHIVE = 0
-DONT_BUILD_RELINKED = 1
+LOADABLE_MODULE = 1
 
-LINK_COMPONENTS :=
+LINK_COMPONENTS := support
 LIBS += -llto
 
-include $(LEVEL)/Makefile.common
-
 # 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
+
+include $(LEVEL)/Makefile.common