Recent C/C++ compilation in Bazel supports the command-line option --conlyopt to specify the options only applied for C (not for C++).
This PR adds the command-line flags generated by the corresponding cpp fragment conlyopts. For backward compatibility, this change is guarded by hasattr.
Recent C/C++ compilation in Bazel supports the command-line option
--conlyopt
to specify the options only applied for C (not for C++).This PR adds the command-line flags generated by the corresponding cpp fragment
conlyopts
. For backward compatibility, this change is guarded byhasattr
.