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>

diff --git a/Makefile b/Makefile
index 145f3e0..fef0ed8 100644
--- a/Makefile
+++ b/Makefile
@@ -502,7 +502,7 @@ OBJECTS := $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o)
 all: $(TARGET)
 
 ifeq ($(DEBUG),0)
-   FLAGS += -O3 $(EXTRA_GCC_FLAGS)
+   FLAGS += -O2 $(EXTRA_GCC_FLAGS)
 else
    FLAGS += -O0 -g
 endif
