The '-Og' is a better choice than '-O0' for producing debuggable code because some compiler passes that collect debug information are disabled at '-O0'.
Wszystkie etapy powiodły się
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-06-15 18:12:27 +02:00
rodzic 8985044054
commit ace4d56d7f
Podpisane przez: belliash
ID klucza GPG: 4E829243E0CFE6B4

Wyświetl plik

@ -2,7 +2,7 @@
CFLAGS = -std=c99 -D_GNU_SOURCE -fPIC -Iinclude -I. -Wunused -Wall -Wextra -Wpedantic
# Additional CFLAGS for debug build
DCFLAGS = -O0 -g3
DCFLAGS = -Og -g3
# Addditional CFLAGS for release build
RCFLAGS = -O3 -s