view patches/pax-mark-rmic-java.patch @ 2574:e4826de9d75b

G422525: Fix building with PaX enabled kernels. 2013-01-15 Andrew John Hughes <gnu.andrew@member.fsf.org> * Makefile.am: (ICEDTEA_PATCHES): Add patch when building with PaX. * NEWS: Mention PaX bug fix from Gentoo, G422525. * patches/pax-mark-rmic-java.patch: PaX mark output directory before running just-built rmic.
author Andrew John Hughes <gnu_andrew@member.fsf.org>
date Tue, 15 Jan 2013 14:07:10 +0000
parents
children
line wrap: on
line source

--- openjdk/jdk/make/com/sun/jmx/Makefile
+++ openjdk/jdk/make/com/sun/jmx/Makefile
@@ -119,6 +119,7 @@
 
 $(CLASSDESTDIR)/%_Stub.class: $(CLASSDESTDIR)/%.class
 	$(prep-target)
+	"$(TOPDIR)"/../../pax-mark-vm "$(OUTPUTDIR)"
 	$(RMIC) -classpath "$(CLASSDESTDIR)"    \
                 -d $(CLASSDESTDIR)              \
                 -v1.2                           \