Blame SOURCES/no_strict_overflow.patch

045ef6
diff -r 1fe56343ecc8 make/lib/Awt2dLibraries.gmk
045ef6
--- openjdk/jdk/make/lib/Awt2dLibraries.gmk	Tue Jan 12 21:01:12 2016 +0000
045ef6
+++ openjdk/jdk/make/lib/Awt2dLibraries.gmk	Thu Jan 14 00:47:01 2016 +0000
045ef6
@@ -904,6 +904,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
+
045ef6
 $(eval $(call SetupNativeCompilation,BUILD_LIBFONTMANAGER, \
045ef6
     LIBRARY := fontmanager, \
045ef6
     OUTPUT_DIR := $(INSTALL_LIBRARIES_HERE), \