summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-19 18:11:02 +0000
committerDan Gohman <gohman@apple.com>2010-04-19 18:11:02 +0000
commitdacd4791739532651e5a9a09864583083aea7291 (patch)
treed04d6174c0939e47edc5a17df6cfe844d1c7e0c5 /Makefile.rules
parent023f8aaa1611aa8c65ae14500653f75303178527 (diff)
Remove -module, which appears to be a leftover from prior libtool usage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules7
1 files changed, 0 insertions, 7 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 6e177813148..9414f634adc 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -581,13 +581,6 @@ ifeq ($(TARGET_OS),Darwin)
endif
endif
-# Adjust LD.Flags depending on the kind of library that is to be built. Note
-# that if LOADABLE_MODULE is specified then the resulting shared library can
-# be opened with dlopen.
-ifdef LOADABLE_MODULE
- LD.Flags += -module
-endif
-
ifdef SHARED_LIBRARY
ifneq ($(DARWIN_MAJVERS),4)
LD.Flags += $(RPATH) -Wl,$(LibDir)