From 1e5e32b74d362b11ddec95462cff86a8e9ff9786 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Mon, 27 Jun 2016 20:38:39 +0000 Subject: [PATCH] [llvm-ar] Ignore -plugin option. binutils ar uses -plugin to specify the LTO plugin, but LLVM doesn't need this as it doesn't use a plugin for LTO. Accepting (and ignoring) the option allows interoperability with existing build systems and make downstream consumers life much easier. No objections from Rafael on this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273938 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ar/llvm-ar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 51c4fed743b..c8e241e2bf6 100644 --- a/tools/llvm-ar/llvm-ar.cpp +++ b/tools/llvm-ar/llvm-ar.cpp @@ -71,6 +71,7 @@ static cl::list cl::desc("[relpos] [count] [members]...")); static cl::opt MRI("M", cl::desc("")); +static cl::opt Plugin("plugin", cl::desc("plugin (ignored for compatibility")); namespace { enum Format { Default, GNU, BSD }; -- 2.50.1