Merge pull request #10094 from heitbaum/fix-addon

libretro-scummvm: fix findstring armv7 check
This commit is contained in:
Christian Hewitt 2025-05-27 10:04:08 +04:00 committed by GitHub
commit fa56f4c909
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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