Blame SOURCES/rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch

03c558
diff --git openjdk.orig/jdk/make/lib/Awt2dLibraries.gmk openjdk/jdk/make/lib/Awt2dLibraries.gmk
03c558
--- openjdk.orig/jdk/make/lib/Awt2dLibraries.gmk
03c558
+++ openjdk/jdk/make/lib/Awt2dLibraries.gmk
03c558
@@ -891,6 +891,12 @@
03c558
   BUILD_LIBFONTMANAGER_ExtensionSubtables.cpp_CXXFLAGS := -fno-strict-aliasing
03c558
 endif
03c558
 
03c558
+# Turn off strict overflow with GCC for IndicRearrangementProcessor.cpp
03c558
+ifeq ($(OPENJDK_TARGET_OS), linux)
03c558
+  BUILD_LIBFONTMANAGER_IndicRearrangementProcessor.cpp_CXXFLAGS := -fno-strict-overflow
03c558
+  BUILD_LIBFONTMANAGER_IndicRearrangementProcessor2.cpp_CXXFLAGS := -fno-strict-overflow
03c558
+endif
03c558
+
03c558
 # LDFLAGS clarification:
03c558
 #   Filter relevant linker flags disallowing unresolved symbols as we cannot
03c558
 #   build-time decide to which library to link against (libawt_headless or