aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-01-23 14:15:55 -0800
committerAndrew Hsieh <andrewhsieh@google.com>2015-03-24 11:55:02 -0700
commitb17db47c5818c11a4de1e5d570871a7c9f6fc686 (patch)
treecd50434985bb90197fc31564abf6e22e3ebf1bdc
parentad3ce39f69116a52fbc3113ec6fbe3b4893208c3 (diff)
downloadllvm-b17db47c5818c11a4de1e5d570871a7c9f6fc686.tar.gz
[ndk][pndk] Accept but ignore -rpath-link=
Change-Id: Ie055ec1890350cd65cd496fe6416031a1248efb0
-rw-r--r--tools/ndk-link/ndk-link.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ndk-link/ndk-link.cpp b/tools/ndk-link/ndk-link.cpp
index 1673dcbc67f..7ebf7f513a8 100644
--- a/tools/ndk-link/ndk-link.cpp
+++ b/tools/ndk-link/ndk-link.cpp
@@ -135,6 +135,11 @@ static cl::opt<bool> CO11("no-warn-mismatch",
cl::ZeroOrMore,
cl::desc("Compatibility option: ignored"));
+static cl::list<std::string> CO12("rpath-link",
+ cl::ZeroOrMore,
+ cl::desc("Compatibility option: ignored"),
+ cl::value_desc("dir"));
+
static cl::list<unsigned int> OptimizationLevel("O",
cl::Prefix,
cl::desc("Optimization level for bitcode compiler"));