From c469e9fd22e83e3e52b93d2570af3f47419778dd Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sun, 11 Oct 2009 23:10:09 +0000 Subject: 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 --- tools/gold/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools/gold/Makefile') 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 -- cgit v1.2.3