Blame SOURCES/rh1649664-awt2dlibraries_compiled_with_no_strict_overflow.patch

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