C++ toolchain: modify deafult ar params

Skip to first unread message

Manish Singh

Feb 14, 2024, 10:48:24 AMFeb 14
to bazel-discuss
after running bazel aquery coommand ,
I see following params for cpparchive

Here I see some default ar parameters like 'rcsD'

I am looking a way to customize the default paramters passed to ar.

Appreciate help.

David Turner

Feb 16, 2024, 5:06:07 AMFeb 16
to Manish Singh, bazel-discuss
This seems to be controlled by a C++ toolchain feature named `archiver_flags`.

I don't know of an easy way to change the values, without redefining your own C++ toolchain definition (which in itself is a major undertaking), maybe someone on the list has an idea though?

You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/e440ad62-9c70-4635-a237-c2c3c53e4811n%40googlegroups.com.

Manish Singh

Feb 16, 2024, 5:31:38 AMFeb 16
to David Turner, bazel-discuss
Thank you, I have already implemented toolchain. 
Reply all
Reply to author
0 new messages