mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
buildsys: set debugging level to -Og
per gcc recommendations
> If you are not using some other optimization option, consider using -Og (see > Options That Control Optimization) with -g. With no -O option at all, some > compiler passes that collect information useful for debugging do not run at > all, so that -Og may result in a better debugging experience. Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
03c6f61d54
commit
b9c7884ea7
@ -49,7 +49,7 @@ if test "x$CFLAGS" = "x"; then
|
||||
CFLAGS_OPTS=" -O2 "
|
||||
fi
|
||||
if test x$USE_MAINTAINER_MODE = xyes; then
|
||||
CFLAGS_OPTS="-g3 -O -ggdb"
|
||||
CFLAGS_OPTS="-g3 -Og -ggdb"
|
||||
AC_DEFINE(USE_MAINTAINER_MODE, 1, [Use maintainer mode])
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user