make/lib/Awt2dLibraries.gmk
changeset 51819 f12165de3cc0
parent 51811 4be08a5102b0
child 51853 ec62d6cab037
child 56900 d5d542d50e3c
--- a/make/lib/Awt2dLibraries.gmk	Thu Sep 20 14:04:44 2018 +0200
+++ b/make/lib/Awt2dLibraries.gmk	Thu Sep 20 18:33:19 2018 +0200
@@ -357,8 +357,6 @@
 # The fast floor code loses precision.
 LCMS_CFLAGS=-DCMS_DONT_USE_FAST_FLOOR
 
-LCMS_CFLAGS_JDKLIB := $(filter-out -xc99=%none, $(CFLAGS_JDKLIB))
-
 ifeq ($(USE_EXTERNAL_LCMS), true)
   # If we're using an external library, we'll just need the wrapper part.
   # By including it explicitly, all other files will be excluded.
@@ -374,7 +372,7 @@
     NAME := lcms, \
     INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \
     OPTIMIZATION := HIGHEST, \
-    CFLAGS := $(LCMS_CFLAGS_JDKLIB) \
+    CFLAGS := $(CFLAGS_JDKLIB) \
         $(LCMS_CFLAGS), \
     CFLAGS_solaris := -xc99=no_lib, \
     CFLAGS_windows := -DCMS_IS_WINDOWS_, \