Enable LLVM to compile on Mips. Fix PR5828

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bruno Cardoso Lopes 2010-07-20 08:44:20 +00:00
parent 46773793cb
commit 6651b3f45f

View File

@ -1339,9 +1339,11 @@ endif
endif endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD)) ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD))
ifneq ($(ARCH), Mips)
LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/autoconf/ExportMap.map LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/autoconf/ExportMap.map
endif endif
endif endif
endif
#--------------------------------------------------------- #---------------------------------------------------------
# Tool Version Info Support # Tool Version Info Support