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
This commit is contained in:
Dan Gohman 2010-04-19 18:11:02 +00:00
parent 023f8aaa16
commit dacd479173

View File

@ -581,13 +581,6 @@ ifeq ($(TARGET_OS),Darwin)
endif endif
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 ifdef SHARED_LIBRARY
ifneq ($(DARWIN_MAJVERS),4) ifneq ($(DARWIN_MAJVERS),4)
LD.Flags += $(RPATH) -Wl,$(LibDir) LD.Flags += $(RPATH) -Wl,$(LibDir)