--- a/jdk/makefiles/CompileNativeLibraries.gmk Tue Aug 13 19:10:54 2013 +0100
+++ b/jdk/makefiles/CompileNativeLibraries.gmk Tue Aug 13 18:33:25 2013 -0700
@@ -798,6 +798,16 @@
LIBAWT_XAWT_CFLAGS += -DFUNCPROTO=15
endif
+ifeq ($(OPENJDK_TARGET_OS),linux)
+ifndef OPENJDK
+include $(JDK_TOPDIR)/make/closed/xawt.gmk
+endif
+
+ifeq ($(DISABLE_XRENDER),true)
+ LIBAWT_XAWT_CFLAGS += -DDISABLE_XRENDER_BY_DEFAULT=true
+endif
+endif
+
ifeq ($(MILESTONE),internal)
LIBAWT_XAWT_CFLAGS += -DINTERNAL_BUILD
endif