X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fgold%2FMakefile;h=66a0271fa25769b519758a830c9b8b8b32bd6754;hb=a75ce9f5d2236d93c117e861e60e6f3f748c9555;hp=f282a351ee88fbea45ec02688404882d28c49f63;hpb=10287438e1d67df31f6c8279052fbfc724b34497;p=oota-llvm.git diff --git a/tools/gold/Makefile b/tools/gold/Makefile index f282a351ee8..66a0271fa25 100644 --- a/tools/gold/Makefile +++ b/tools/gold/Makefile @@ -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,10 +19,9 @@ 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 # Because off_t is used in the public API, the largefile parts are required for