$NetBSD: patch-jdk_make_lib_Awt2dLibraries.gmk,v 1.5 2018/12/12 14:22:11 ryoon Exp $ GCC support. --- jdk/make/lib/Awt2dLibraries.gmk.orig +++ jdk/make/lib/Awt2dLibraries.gmk @@ -677,7 +677,6 @@ $(SHARED_LIBRARY_FLAGS) \ -I$(JDK_TOPDIR)/src/share/native/sun/java2d \ -I$(JDK_TOPDIR)/src/share/native/sun/awt/debug, \ - CFLAGS_solaris := -xc99=no_lib, \ CFLAGS_windows := -DCMS_IS_WINDOWS_, \ MAPFILE := $(JDK_TOPDIR)/make/mapfiles/liblcms/mapfile-vers, \ LDFLAGS := $(LDFLAGS_JDKLIB) \ @@ -1053,7 +1052,7 @@ JAWT_LIBS += -lawt endif ifndef BUILD_HEADLESS_ONLY - JAWT_LIBS += -lawt_xawt + JAWT_LIBS += $(X_LIBS) -lawt_xawt else JAWT_LIBS += -lawt_headless HEADLESS_CFLAG += -DHEADLESS