From 893915251df0fa92ef2046f6ad8c56f35f71bce5 Mon Sep 17 00:00:00 2001
From: Duncan Sands <baldrick@free.fr>
Date: Thu, 5 Feb 2009 09:54:02 +0000
Subject: Stop llvm-config thinking that there are circular dependencies
 between libraries due to __dso_handle when doing "make install".  I don't
 know what the LINK_COMPONENTS stuff is about, so I left it alone.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63860 91177308-0d34-0410-b5e6-96231b3b80d8
---
 tools/gold/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index 37a7e4e..b976b2d 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -15,11 +15,7 @@ LIBRARYNAME = LLVMgold
 # early so we can set up LINK_COMPONENTS before including Makefile.rules
 include $(LEVEL)/Makefile.config
 
-LINK_LIBS_IN_SHARED=1
-SHARED_LIBRARY = 1
-BUILD_ARCHIVE = 0
-DONT_BUILD_RELINKED = 1
-
+LOADABLE_MODULE = 1
 LINK_COMPONENTS :=
 
 include $(LEVEL)/Makefile.common
-- 
cgit v1.1