Skip to content

Commit

Permalink
Use -ggdb3 and -O0 when doing debug builds
Browse files Browse the repository at this point in the history
Who cares about size??? These are debug builds!
  • Loading branch information
vpodzime committed Apr 9, 2019
1 parent 65ee781 commit dfbcf9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-scripts/configure
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ case "$BUILD_TYPE" in
ARGS="$ARGS --enable-debug"
# Override the default "-g3 -O0" that comes with ./configure --enable-debug
# in order to reduce the size of the packages
CFLAGS="-g2 -O1 $CFLAGS"
CFLAGS="-ggdb3 -O0 $CFLAGS"
;;
CODE_COVERAGE)
ARGS="$ARGS --enable-debug"
Expand Down

0 comments on commit dfbcf9e

Please sign in to comment.