summaryrefslogtreecommitdiff
path: root/tools/gold
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-10-11 23:10:09 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-10-11 23:10:09 +0000
commitc469e9fd22e83e3e52b93d2570af3f47419778dd (patch)
treead0e0884116d83dacc3f5af8d44d1a078369d684 /tools/gold
parent436604d505760f1ce170d68f7e09d5e5bd82f4e4 (diff)
downloadllvm-c469e9fd22e83e3e52b93d2570af3f47419778dd.tar.gz
llvm-c469e9fd22e83e3e52b93d2570af3f47419778dd.tar.bz2
llvm-c469e9fd22e83e3e52b93d2570af3f47419778dd.tar.xz
Fix Makefile to build correctly on Darwin. Patch by Sandeep Patel!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold')
-rw-r--r--tools/gold/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index 65e99bf41c..7bac4ec62d 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
-LIBRARYNAME = LLVMgold
+LIBRARYNAME = libLLVMgold
# Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this
@@ -18,8 +18,9 @@ include $(LEVEL)/Makefile.config
LINK_LIBS_IN_SHARED=1
SHARED_LIBRARY = 1
BUILD_ARCHIVE = 0
+LOADABLE_MODULE = 1
-LINK_COMPONENTS :=
+LINK_COMPONENTS := support system
LIBS += -llto
# Because off_t is used in the public API, the largefile parts are required for