From e60b4a1ebde0c7e7bbd5f2b4abd07826f927600c Mon Sep 17 00:00:00 2001 From: neauoire Date: Tue, 12 Apr 2022 10:34:28 -0700 Subject: [PATCH] Better release flags --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 78e3dd2..1ea3464 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -RELEASE_FLAGS="-DNDEBUG -Og -g0 -s" +RELEASE_FLAGS="-DNDEBUG -g0 -s -Wall" DEBUG_FLAGS="-std=c89 -D_POSIX_C_SOURCE=199309L -DDEBUG -Wall -Wno-unknown-pragmas -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined" EMU_INC="src/uxn.c src/devices/system.c src/devices/screen.c src/devices/controller.c src/devices/mouse.c src/devices/file.c src/devices/datetime.c src/uxn11.c -o bin/uxn11 -lX11" CLI_INC="src/uxn.c src/devices/system.c src/devices/file.c src/devices/datetime.c src/uxncli.c -o bin/uxncli"