From 0c6ba44890e583b5822f225c9e96e9b2d357ebe4 Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Wed, 19 Nov 2008 17:00:08 +0000 Subject: [PATCH] ignore the -m elf_i386 directive used in the linux kernel git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59642 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ld/llvm-ld.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/llvm-ld/llvm-ld.cpp b/tools/llvm-ld/llvm-ld.cpp index c8b0d58241f..ed52254573b 100644 --- a/tools/llvm-ld/llvm-ld.cpp +++ b/tools/llvm-ld/llvm-ld.cpp @@ -108,6 +108,9 @@ static cl::opt CO7("start-group", cl::Hidden, static cl::opt CO8("end-group", cl::Hidden, cl::desc("Compatibility option: ignored")); +static cl::opt CO9("m", cl::Hidden, + cl::desc("Compatibility option: ignored")); + /// This is just for convenience so it doesn't have to be passed around /// everywhere. static std::string progname;