Skip to content

Commit

Permalink
bazel: debug build
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Rajahalme <[email protected]>
  • Loading branch information
jrajahalme committed Nov 22, 2024
1 parent 9a53218 commit 0173712
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ build --platform_mappings=bazel/platform_mappings
build --define path_normalization_by_default=true

# release builds are optimized
build:release -c opt
build:release -c dbg

# No debug info for release builds
build:release --define no_debug_info=1
build:release --linkopt=-Wl,--strip-all
build:release --features=-per_object_debug_info
build:release --fission=dbg
#build:release --define no_debug_info=1
#build:release --linkopt=-Wl,--strip-all
#build:release --features=-per_object_debug_info
#build:release --fission=dbg

# Manual link stamping, forces link to include current git SHA even if binary is otherwise
# upto-date
Expand Down

0 comments on commit 0173712

Please sign in to comment.