Skip to content

Commit de03a23

Browse files
keithcopybara-github
authored andcommitted
Allow -v to libtool
This is useful for debugging. Without it being in these lists the static archive fails Closes bazelbuild#16367. PiperOrigin-RevId: 508325556 Change-Id: I6d0b2c19123132f0d8a41e8925de9c57197a10bf
1 parent 754216b commit de03a23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/objc/libtool.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function parse_option() {
107107
done < "$path" || exit 1
108108
;;
109109
# Flags with no args
110-
-static|-s|-a|-c|-L|-T|-D|-no_warning_for_no_symbols)
110+
-static|-s|-a|-c|-L|-T|-D|-v|-no_warning_for_no_symbols)
111111
ARGS+=("${ARG}")
112112
;;
113113
# Single-arg flags

tools/objc/libtool_check_unique.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ using std::vector;
2626

2727
const regex libRegex = regex(".*\\.a$");
2828
const regex noArgFlags =
29-
regex("-static|-s|-a|-c|-L|-T|-D|-no_warning_for_no_symbols");
29+
regex("-static|-s|-a|-c|-L|-T|-D|-v|-no_warning_for_no_symbols");
3030
const regex singleArgFlags = regex("-arch_only|-syslibroot|-o");
3131

3232
string getBasename(const string &path) {

0 commit comments

Comments
 (0)