Drop -Ofast as it is the cause of artifacting in other emulators as well.

This commit is contained in:
fewtarius 2023-12-10 14:28:31 +00:00
parent 483ddb7711
commit 4f303403f6
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -34,10 +34,10 @@ LDFLAGS_OPTIM_LINKER_GOLD="-fuse-ld=gold"
LDFLAGS_OPTIM_LINKER_MOLD="-fuse-ld=mold"
# default compiler optimization
CFLAGS_OPTIM_DEFAULT="-Ofast -fomit-frame-pointer -DNDEBUG"
CFLAGS_OPTIM_DEFAULT="-O3 -fomit-frame-pointer -DNDEBUG"
CXXFLAGS_OPTIM_DEFAULT="${CFLAGS_OPTIM_DEFAULT}"
# speed flag
CFLAGS_OPTIM_SPEED="-Ofast -fomit-frame-pointer -DNDEBUG"
CFLAGS_OPTIM_SPEED="-O3 -fomit-frame-pointer -DNDEBUG"
CXXFLAGS_OPTIM_SPEED="${CFLAGS_OPTIM_SPEED}"
# size flag
CFLAGS_OPTIM_SIZE="-Os -fomit-frame-pointer -DNDEBUG"