summaryrefslogtreecommitdiff
path: root/Makefile.rules
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
commit6651b3f45f8985df38ded0396c58022ada4b0297 (patch)
treeb986d08947268cb93537a38c2645c4e7b3e87d38 /Makefile.rules
parent46773793cbf18fa0fa4643c91d3b6f5c5bf15dd9 (diff)
downloadllvm-6651b3f45f8985df38ded0396c58022ada4b0297.tar.gz
llvm-6651b3f45f8985df38ded0396c58022ada4b0297.tar.bz2
llvm-6651b3f45f8985df38ded0396c58022ada4b0297.tar.xz
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
Diffstat (limited to 'Makefile.rules')
-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