Blame SOURCES/rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch

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