8210949: Stop filtering out -xc99=%none for liblcms
authorihse
Thu, 20 Sep 2018 18:33:19 +0200
changeset 51819 f12165de3cc0
parent 51818 75e4ce0fa1ba
child 51820 74c67f87fe80
8210949: Stop filtering out -xc99=%none for liblcms Reviewed-by: erikj
make/lib/Awt2dLibraries.gmk
--- 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_, \