changeset 9958:ce29e542f3fa

8238002: Better matrix operations Reviewed-by: mbalao
author andrew
date Wed, 15 Jul 2020 21:15:05 +0100
parents cf4f065c885d
children 0e9efa336f00
files make/sun/cmm/lcms/Makefile src/share/native/sun/java2d/cmm/lcms/cmsps2.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/sun/cmm/lcms/Makefile	Sat Apr 18 12:16:42 2020 +0800
+++ b/make/sun/cmm/lcms/Makefile	Wed Jul 15 21:15:05 2020 +0100
@@ -106,3 +106,11 @@
             -I$(SHARE_SRC)/native/sun/awt/debug
 endif
 
+ifeq ($(CC_VERSION), llvm)
+ ifeq ("$(CC_VER_MAJOR)", "10")
+  ifeq ("$(CC_VER_MINOR)", "1")
+   CFLAGS += $(CFLAGS_$(@F))
+   CFLAGS_cmsopt.o = -O0
+  endif
+ endif
+endif
--- a/src/share/native/sun/java2d/cmm/lcms/cmsps2.c	Sat Apr 18 12:16:42 2020 +0800
+++ b/src/share/native/sun/java2d/cmm/lcms/cmsps2.c	Wed Jul 15 21:15:05 2020 +0100
@@ -1443,7 +1443,7 @@
     cmsUInt32Number i, nColors, nColorant;
     cmsUInt32Number OutputFormat;
     char ColorName[cmsMAX_PATH];
-    char Colorant[128];
+    char Colorant[512];
     cmsNAMEDCOLORLIST* NamedColorList;