-
Couldn't load subscription status.
- Fork 140
Pass -no_warning_for_no_symbols flag to libtool on macos #503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,13 +27,23 @@ cc_feature( | |
| cc_args_list( | ||
| name = "archiver_flags", | ||
| args = [ | ||
| ":no_warning_for_no_symbols", | ||
| ":create_static_archive", | ||
| ":output_execpath", | ||
| ":libraries_to_link", | ||
| ], | ||
| visibility = ["//visibility:public"], | ||
| ) | ||
|
|
||
| cc_args( | ||
| name = "no_warning_for_no_symbols", | ||
| actions = ["//cc/toolchains/actions:ar_actions"], | ||
| args = select({ | ||
| ":use_libtool_on_macos_setting": ["-no_warning_for_no_symbols"], | ||
|
||
| "//conditions:default": [], | ||
| }), | ||
| ) | ||
|
|
||
| cc_args( | ||
| name = "create_static_archive", | ||
| actions = ["//cc/toolchains/actions:ar_actions"], | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
-no_warning_for_no_symbolscan be moved intocreate_static_archivebelow, next to-static.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. I'll move that down. There is also the
-Dwhich sets default to userid, groupid, modes etc.. I can make a second PR for that.