From 2075a08a0224176cb927644b8c4312160975020c Mon Sep 17 00:00:00 2001 From: xtreme8000 Date: Sat, 9 Dec 2023 19:23:38 +0100 Subject: [PATCH] Makefile add no debug flag it's configured for release builds so this seems reasonable --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b4a61b8..d060fb5 100644 --- a/Makefile +++ b/Makefile @@ -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