From: Bruno Cardoso Lopes Date: Tue, 20 Jul 2010 08:44:20 +0000 (+0000) Subject: Enable LLVM to compile on Mips. Fix PR5828 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6651b3f45f8985df38ded0396c58022ada4b0297;p=oota-llvm.git 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 --- diff --git a/Makefile.rules b/Makefile.rules index 6271bf51f7f..a3a4937b792 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