make/lib/Awt2dLibraries.gmk
changeset 49523 69c6eb97297f
parent 49513 eaa925fc7f64
child 49533 0eaddc72d8f4
--- a/make/lib/Awt2dLibraries.gmk	Wed Apr 04 14:42:53 2018 -0700
+++ b/make/lib/Awt2dLibraries.gmk	Wed Apr 04 16:13:30 2018 -0700
@@ -993,6 +993,7 @@
           -I$(TOPDIR)/src/java.base/share/native/libjava \
           -I$(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/libjava \
           -I$(SUPPORT_OUTPUTDIR)/headers/java.desktop,  \
+      DISABLED_WARNINGS_clang := deprecated-declarations, \
       LDFLAGS := $(LDFLAGS_JDKLIB) \
           $(call SET_SHARED_LIBRARY_ORIGIN) \
           -Wl$(COMMA)-rpath$(COMMA)@loader_path \