stra...@google.com
unread,Apr 3, 2015, 9:25:30 PM4/3/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bazel-...@googlegroups.com
Specifying debug/release builds does not to work the way as would I expect it to.
When running "bazel build -c dbg --subcommands //...", I'd expect to see "-g" in the output, though there is no "-g" in the output and hence no debug symbols in the c++ binary.
(My current workaround is "bazel build --copt -g --strip=never //...".)
Similarly, I would expect "-c opt" to define "-DNDEBUG" and "-O3", but it does not.
Any hints would be highly appreciated.