commit 12e86b20caa9e42f33400a85e0bdacebd118ccd5 parent b5a455cc15a3dea2fa28408852d43cedef9ea24a Author: neauoire <aliceffekt@gmail.com> Date: Tue, 16 Feb 2021 17:41:03 -0800 Added opt build step Diffstat:
M | build.sh | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build.sh b/build.sh @@ -16,7 +16,8 @@ clang-format -i uxn.c # Emulator clang-format -i emulator.c rm -f ./bin/emulator -cc -std=c89 -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 uxn.c emulator.c -L/usr/local/lib -lSDL2 -o bin/emulator +# cc -std=c89 -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 uxn.c emulator.c -L/usr/local/lib -lSDL2 -o bin/emulator +cc uxn.c emulator.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -Wno-unknown-pragmas -L/usr/local/lib -lSDL2 -o bin/emulator # run ./bin/assembler examples/drag.usm bin/boot.rom