Blame SOURCES/rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch

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