From 54748faa8a492d7ff971a185746a1c1b601b74de 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 llvm-svn: 59642 --- 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;