Use -O2
This commit is contained in:
parent
61393d0d83
commit
b09d5708b8
2
build.sh
2
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"
|
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'
|
CORE='src/uxn.c'
|
||||||
else
|
else
|
||||||
CFLAGS="${CFLAGS} -DNDEBUG -Os -g0 -s"
|
CFLAGS="${CFLAGS} -DNDEBUG -O2 -g0 -s"
|
||||||
CORE='src/uxn-fast.c'
|
CORE='src/uxn-fast.c'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue