Fix mupen64plus-nx-lr with GCC 13.

This commit is contained in:
fewtarius 2023-12-28 00:40:25 +00:00
parent 3579c38179
commit 4a899f5926
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

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