Fixed debug issues.

This commit is contained in:
Ulysse Cura 2026-07-22 18:04:36 +02:00
parent 9b6ac3c145
commit 2f10b3c1bc
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ CORE_SOURCES := \
# Compiler and flags
CORE_CC = gcc
#CORE_CFLAGS = --std=c17 --pedantic -O3 -DASSET_FILE_NAME=\"$(ASSET_OUTPUT)\" $(shell pkg-config --cflags sdl2) # RELEASE
CORE_CFLAGS = --std=c17 --pedantic -O1 -g -DASSET_FILE_NAME=\"$(ASSET_OUTPUT)\" $(shell pkg-config --cflags sdl2) \
CORE_CFLAGS = --std=c17 --pedantic -O0 -g -DASSET_FILE_NAME=\"$(ASSET_OUTPUT)\" $(shell pkg-config --cflags sdl2) \
-Wall -Wno-missing-braces -Wextra -Wno-missing-field-initializers \
-Wformat=2 -Wswitch-default -Wswitch-enum -Wcast-align \
-Wpointer-arith -Wbad-function-cast -Wstrict-overflow=5 \