Skip to content

Commit

Permalink
Allow -v to libtool (#182)
Browse files Browse the repository at this point in the history
This is useful for debugging. Without it being in these lists the static
archive fails

bazelbuild/bazel#16367
  • Loading branch information
keith authored Feb 12, 2023
1 parent a632b4d commit 3ec52c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crosstool/libtool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function parse_option() {
done < "$path" || exit 1
;;
# Flags with no args
-static|-s|-a|-c|-L|-T|-D|-no_warning_for_no_symbols)
-static|-s|-a|-c|-L|-T|-D|-v|-no_warning_for_no_symbols)
ARGS+=("${ARG}")
;;
# Single-arg flags
Expand Down
2 changes: 1 addition & 1 deletion crosstool/libtool_check_unique.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using std::vector;

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

string getBasename(const string &path) {
Expand Down

0 comments on commit 3ec52c6

Please sign in to comment.