Merge pull request #2597 from fewtarius/dev

Fix mupen64plus-nx-lr with GCC 13.
This commit is contained in:
fewtarius 2023-12-27 19:40:54 -05:00 committed by GitHub
commit 9325e249d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,10 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi
pre_configure_target() {
for SOURCE in ${PKG_BUILD}/mupen64plus-rsp-paraLLEl/rsp_disasm.cpp ${PKG_BUILD}/mupen64plus-rsp-paraLLEl/rsp_disasm.hpp
do
sed -i '/include <string>/a #include <cstdint>' ${SOURCE}
done
sed -e "s|^GIT_VERSION ?.*$|GIT_VERSION := \" ${PKG_VERSION:0:7}\"|" -i Makefile
sed -i 's/\-O[23]/-Ofast/' ${PKG_BUILD}/Makefile
case ${DEVICE} in