Blame SOURCES/rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch

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