The '-Og' is a better choice than '-O0' for producing debuggable code because some compiler passes that collect debug information are disabled at '-O0'.
Todas las comprobaciones han sido exitosas
The build was successful.
Todas las comprobaciones han sido exitosas
The build was successful.
Este commit está contenido en:
padre
8985044054
commit
ace4d56d7f
2
Makefile
2
Makefile
@ -2,7 +2,7 @@
|
|||||||
CFLAGS = -std=c99 -D_GNU_SOURCE -fPIC -Iinclude -I. -Wunused -Wall -Wextra -Wpedantic
|
CFLAGS = -std=c99 -D_GNU_SOURCE -fPIC -Iinclude -I. -Wunused -Wall -Wextra -Wpedantic
|
||||||
|
|
||||||
# Additional CFLAGS for debug build
|
# Additional CFLAGS for debug build
|
||||||
DCFLAGS = -O0 -g3
|
DCFLAGS = -Og -g3
|
||||||
|
|
||||||
# Addditional CFLAGS for release build
|
# Addditional CFLAGS for release build
|
||||||
RCFLAGS = -O3 -s
|
RCFLAGS = -O3 -s
|
||||||
|
Cargando…
x
Referencia en una nueva incidencia
Block a user