diff --git a/packages/emulation/libretro-scummvm/patches/0003-libretro-fix-armv7-GCC-15.1-internal-compiler-error.patch b/packages/emulation/libretro-scummvm/patches/0003-libretro-fix-armv7-GCC-15.1-internal-compiler-error.patch index 29728dfcb3..360ca9d8d6 100644 --- a/packages/emulation/libretro-scummvm/patches/0003-libretro-fix-armv7-GCC-15.1-internal-compiler-error.patch +++ b/packages/emulation/libretro-scummvm/patches/0003-libretro-fix-armv7-GCC-15.1-internal-compiler-error.patch @@ -15,7 +15,7 @@ index 0181825bfbbc..383a25cab706 100644 DEFINES += -Os else ifneq (,$(findstring $(platform), ios osx)) DEFINES += -O1 -+else ifneq (,$(findstring $(platform), armv7)) # fixes a GCC 15.1 internal compiler error. TODO check if it is fixed in GCC newer releases. ++else ifneq (,$(findstring armv7, $(platform))) # fixes a GCC 15.1 internal compiler error. TODO check if it is fixed in GCC newer releases. + DEFINES += -O1 else ifneq (,$(findstring $(platform), msvc genode rpi)) DEFINES += -O2