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