From b09d5708b8778879ee182cf40a832cffe4b6ee04 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Thu, 2 Mar 2023 16:56:49 -0800 Subject: [PATCH] Use -O2 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 5fcbb2c..9c3720f 100755 --- a/build.sh +++ b/build.sh @@ -93,7 +93,7 @@ then CFLAGS="${CFLAGS} -DDEBUG -Wpedantic -Wshadow -Wextra -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Wvla -g -Og -fsanitize=address -fsanitize=undefined" CORE='src/uxn.c' else - CFLAGS="${CFLAGS} -DNDEBUG -Os -g0 -s" + CFLAGS="${CFLAGS} -DNDEBUG -O2 -g0 -s" CORE='src/uxn-fast.c' fi