pkgsrc/lang/openjdk7/patches/patch-jdk_make_common_Defs-solaris.gmk
jperkin 8fb76ee717 Add SunOS/GCC support. With huge thanks to "jesse" from #SmartOS who did the
bulk of the porting work.  Tested on SmartOS 32-bit.  64-bit builds currently
fail, they should hopefully be fixed soon.
2013-06-15 09:31:05 +00:00

23 lines
585 B
Text

$NetBSD: patch-jdk_make_common_Defs-solaris.gmk,v 1.1 2013/06/15 09:31:06 jperkin Exp $
GCC support.
--- jdk/make/common/Defs-solaris.gmk.orig 2013-02-20 17:07:30.000000000 +0000
+++ jdk/make/common/Defs-solaris.gmk
@@ -44,6 +44,10 @@
# Note: CPPFLAGS are used in C and C++ compiles.
#
+ifdef USE_GCC
+ include $(JDK_TOPDIR)/make/common/Defs-$(PLATFORM)-gcc.gmk
+else
+
# Get shared JDK settings
include $(JDK_MAKE_SHARED_DIR)/Defs.gmk
@@ -799,3 +803,5 @@ SA_DEBUGINFO_NAME = $(LIB_PREFIX)saproc.
SA_DIZ_NAME = $(LIB_PREFIX)saproc.diz
INCLUDE_SA=true
+endif # USE_GCC
+