From e2a26e3103082e4bc7cfc6357f1bc46a693d6d51 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 8 Jun 2023 09:35:17 -0700 Subject: [PATCH] Opt flag same as uxnemu --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b23fa0a..00779f0 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -RELEASE_FLAGS="-Os -DNDEBUG -g0 -s" +RELEASE_FLAGS="-DNDEBUG -O2 -g0 -s" 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" CORE_DEVICES="src/uxn.c src/devices/system.c src/devices/file.c src/devices/datetime.c -lpthread" EMU_INC="${CORE_DEVICES} src/devices/screen.c src/devices/controller.c src/devices/mouse.c src/uxn11.c -o bin/uxn11 -lX11"