Merge pull request #2810 from sydarn/mednafen-gcc-flags

mednafen: link-time and interpocedural pointer optimizations
This commit is contained in:
sydarn 2024-02-03 12:41:41 +01:00 committed by GitHub
commit 25e03aa509
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,10 @@ fi
pre_configure_target() {
export CFLAGS="${CFLAGS} -flto -fipa-pta"
export CXXFLAGS="${CXXFLAGS} -flto -fipa-pta"
export LDFLAGS="${LDFLAGS} -flto -fipa-pta"
# unsupported modules
DISABLED_MODULES+=" --disable-apple2 \
--disable-sasplay \