configure: use -Oz in release mode

This commit is contained in:
Jeremy Baxter 2024-03-14 14:50:49 +13:00
parent 820ed598d9
commit ec2a841c04

2
configure vendored
View file

@ -94,7 +94,7 @@ gen_CC () {
## flags used in the compilation step
gen_CFLAGS () {
if [ -z "$debug" ]; then
cflags="$cflags -O3"
cflags="$cflags -Oz"
else
cflags="$cflags -O0 -g"
fi