summaryrefslogtreecommitdiff
path: root/tools/llvm-ar/Makefile
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-08-28 16:22:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-08-28 16:22:16 +0000
commitaeb0f0cdd28011a34be3772bb7a77292eaf18f9c (patch)
treeecbb8ff94bdb61f55cf087c3d0769dd9051e1a54 /tools/llvm-ar/Makefile
parent22266c1d4817fc30355a90bb264ede08482bba3a (diff)
downloadllvm-aeb0f0cdd28011a34be3772bb7a77292eaf18f9c.tar.gz
llvm-aeb0f0cdd28011a34be3772bb7a77292eaf18f9c.tar.bz2
llvm-aeb0f0cdd28011a34be3772bb7a77292eaf18f9c.tar.xz
Add a minimal implementation of ranlib.
This is just enough to get "llvm-ranlib foo.a" working and tested. Making llvm-ranlib a symbolic link to llvm-ar doesn't work so well with llvm's option parsing, but ar's option parsing is mostly custom anyway. This patch also removes the -X32_64 option. Looks like it was just added in r10297 as part of implementing the current command line parsing. I can add it back (with a test) if someone really has AIX portability problems without it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ar/Makefile')
-rw-r--r--tools/llvm-ar/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/llvm-ar/Makefile b/tools/llvm-ar/Makefile
index 15fb0900c2..16a828396c 100644
--- a/tools/llvm-ar/Makefile
+++ b/tools/llvm-ar/Makefile
@@ -9,6 +9,7 @@
LEVEL := ../..
TOOLNAME := llvm-ar
+TOOLALIAS = llvm-ranlib
LINK_COMPONENTS := bitreader support object
# This tool has no plugins, optimize startup time.