summaryrefslogtreecommitdiff
path: root/tools/gold/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gold/Makefile')
-rw-r--r--tools/gold/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index b976b2d7f6..37a7e4ef7f 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -15,7 +15,11 @@ LIBRARYNAME = LLVMgold
# early so we can set up LINK_COMPONENTS before including Makefile.rules
include $(LEVEL)/Makefile.config
-LOADABLE_MODULE = 1
+LINK_LIBS_IN_SHARED=1
+SHARED_LIBRARY = 1
+BUILD_ARCHIVE = 0
+DONT_BUILD_RELINKED = 1
+
LINK_COMPONENTS :=
include $(LEVEL)/Makefile.common