summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make
diff options
context:
space:
mode:
Diffstat (limited to 'lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make')
-rw-r--r--lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make b/lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make
new file mode 100644
index 00000000000..7309b89576e
--- /dev/null
+++ b/lang/openjdk7/patches/patch-hotspot_make_solaris_makefiles_debug.make
@@ -0,0 +1,19 @@
+$NetBSD: patch-hotspot_make_solaris_makefiles_debug.make,v 1.1 2013/06/15 09:31:05 jperkin Exp $
+
+GCC support.
+
+--- hotspot/make/solaris/makefiles/debug.make.orig 2013-02-19 23:21:59.000000000 +0000
++++ hotspot/make/solaris/makefiles/debug.make
+@@ -45,7 +45,11 @@ MAPFILE = $(GAMMADIR)/make/solaris/makef
+
+ # This mapfile is only needed when compiling with dtrace support,
+ # and mustn't be otherwise.
+-MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE)
++ifdef USE_GCC
++ MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE).gcc
++else
++ MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE)
++endif # USE_GCC
+
+ _JUNK_ := $(shell echo >&2 ""\
+ "-------------------------------------------------------------------------\n" \