commit 1eb140d
neauoire
·
2022-04-12 18:12:22 +0000 UTC
parent e60b4a1
Better release flags
1 files changed,
+1,
-1
M
build.sh
M
build.sh
+1,
-1
1@@ -1,6 +1,6 @@
2 #!/bin/sh -e
3
4-RELEASE_FLAGS="-DNDEBUG -g0 -s -Wall"
5+RELEASE_FLAGS="-Os -DNDEBUG -g0 -s -Wall"
6 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"
7 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"
8 CLI_INC="src/uxn.c src/devices/system.c src/devices/file.c src/devices/datetime.c src/uxncli.c -o bin/uxncli"