diff options
author | Davide Italiano <davide@freebsd.org> | 2016-06-27 20:38:39 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-06-27 20:38:39 +0000 |
commit | 9ffb554e5b51d34c2d40a2a24e4b6ef53e4c6ecf (patch) | |
tree | 192d231d86b0c6ecf2c0a11c7f547a0940334072 | |
parent | 03d8584590c647add646df7557b2e448633ce77c (diff) | |
download | bcm5719-llvm-9ffb554e5b51d34c2d40a2a24e4b6ef53e4c6ecf.tar.gz bcm5719-llvm-9ffb554e5b51d34c2d40a2a24e4b6ef53e4c6ecf.zip |
[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.
llvm-svn: 273938
-rw-r--r-- | llvm/tools/llvm-ar/llvm-ar.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 51c4fed743b..c8e241e2bf6 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/tools/llvm-ar/llvm-ar.cpp @@ -71,6 +71,7 @@ static cl::list<std::string> cl::desc("[relpos] [count] <archive-file> [members]...")); static cl::opt<bool> MRI("M", cl::desc("")); +static cl::opt<std::string> Plugin("plugin", cl::desc("plugin (ignored for compatibility")); namespace { enum Format { Default, GNU, BSD }; |