Makefile add no debug flag

it's configured for release builds so this seems reasonable
This commit is contained in:
xtreme8000 2023-12-09 19:23:38 +01:00
parent 8610cddab3
commit 2075a08a02

View file

@ -32,10 +32,10 @@ INCLUDES :=
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -std=c99 -pedantic -Wextra -Wno-unused-parameter -flto=auto -O3 -Wall -DPLATFORM_WII $(MACHDEP) $(INCLUDE)
CFLAGS = -std=c99 -pedantic -Wextra -Wno-unused-parameter -flto=auto -O3 -Wall -DNDEBUG -DPLATFORM_WII $(MACHDEP) $(INCLUDE)
CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map
LDFLAGS = $(MACHDEP) -Wl,-Map,$(notdir $@).map
#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project