0

How can I query Bazel for the compiler flags used to build a C/C++ target?

Sogartar
  • 2,035
  • 2
  • 19
  • 35
  • Does this answer your question? [Extract compiler and linker flags from Bazel](https://stackoverflow.com/questions/74644990/extract-compiler-and-linker-flags-from-bazel) – lummax May 26 '23 at 08:21
  • I want to get the command for a specific target. Something like `bazel cquery ... //my:target`. – Sogartar May 31 '23 at 08:40

0 Answers0