Description: use -O2 optimization, not -O3
 -O3 is not considered general-purpose, and building with -O3 causes build
 timeouts on arm64 and s390x.  Build with -O2 instead.
Author: Steve Langasek <steve.langasek@ubuntu.com>

--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ target  := libretro
 ifneq ($(debug),)
   flags := -I. -O0 -g
 else
-  flags := -I. -O3 -fomit-frame-pointer
+  flags := -I. -O2 -fomit-frame-pointer
 endif
 
 cflags := $(CFLAGS) $(CPPFLAGS) -std=gnu99 -xc
