aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-07-20 08:44:20 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2010-07-20 08:44:20 +0000
commite48f9c0472486bc23ef5cedc625adf2d0ff1510c (patch)
treeb986d08947268cb93537a38c2645c4e7b3e87d38
parent900d0716aac08d7c731c044dc7212f1ecbbb7c9c (diff)
downloadexternal_llvm-e48f9c0472486bc23ef5cedc625adf2d0ff1510c.tar.gz
external_llvm-e48f9c0472486bc23ef5cedc625adf2d0ff1510c.tar.bz2
external_llvm-e48f9c0472486bc23ef5cedc625adf2d0ff1510c.zip
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
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 6271bf51f7..a3a4937b79 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -1339,9 +1339,11 @@ endif
endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux NetBSD FreeBSD))
+ifneq ($(ARCH), Mips)
LD.Flags += -Wl,--version-script=$(LLVM_SRC_ROOT)/autoconf/ExportMap.map
endif
endif
+endif
#---------------------------------------------------------
# Tool Version Info Support