summaryrefslogtreecommitdiffstats
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
commit56129bd62f91e231b35c2db6416cf228fadc2988 (patch)
tree73f7198e41a5a1c223341cadf4cd70a66b25bb7d
parent160695fecb7333347c9a09a8742eefe09e32f727 (diff)
downloadbcm5719-llvm-56129bd62f91e231b35c2db6416cf228fadc2988.tar.gz
bcm5719-llvm-56129bd62f91e231b35c2db6416cf228fadc2988.zip
Enable LLVM to compile on Mips. Fix PR5828
llvm-svn: 108821
-rw-r--r--llvm/Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/Makefile.rules b/llvm/Makefile.rules
index 6271bf51f7f..a3a4937b792 100644
--- a/llvm/Makefile.rules
+++ b/llvm/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
OpenPOWER on IntegriCloud