Remove -module, which appears to be a leftover from prior libtool usage.
authorDan Gohman <gohman@apple.com>
Mon, 19 Apr 2010 18:11:02 +0000 (18:11 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 19 Apr 2010 18:11:02 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101793 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 6e177813148585086823c4595ad18306e0fe2eda..9414f634adc077731fb18a6eaae8b1f2c380d3f7 100644 (file)
@@ -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)