Mercurial > hg > release > icedtea7-2.3
changeset 2618:22c8a74134c1
When building with PaX, PaX mark the output directory before running the just-built rmic.
2013-01-15 Andrew John Hughes <gnu.andrew@member.fsf.org>
* Makefile.am:
(ICEDTEA_PATCHES): Add patch when building
with PaX.
* 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 09:40:18 +0000 |
parents | e3c253d72ae5 |
children | 8e6c3e993e92 |
files | ChangeLog Makefile.am patches/pax-mark-rmic-java.patch |
diffstat | 3 files changed, 22 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Jan 15 08:58:30 2013 +0000 +++ b/ChangeLog Tue Jan 15 09:40:18 2013 +0000 @@ -1,3 +1,12 @@ +2013-01-15 Andrew John Hughes <gnu.andrew@member.fsf.org> + + * Makefile.am: + (ICEDTEA_PATCHES): Add patch when building + with PaX. + * patches/pax-mark-rmic-java.patch: + PaX mark output directory before running just-built + rmic. + 2013-01-15 Andrew John Hughes <gnu.andrew@member.fsf.org> * patches/boot/ecj-stringswitch.patch:
--- a/Makefile.am Tue Jan 15 08:58:30 2013 +0000 +++ b/Makefile.am Tue Jan 15 09:40:18 2013 +0000 @@ -296,7 +296,9 @@ endif if WITH_PAX -ICEDTEA_PATCHES += patches/test_gamma.patch +ICEDTEA_PATCHES += \ + patches/test_gamma.patch \ + patches/pax-mark-rmic-java.patch endif ICEDTEA_PATCHES += $(DISTRIBUTION_PATCHES)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/pax-mark-rmic-java.patch Tue Jan 15 09:40:18 2013 +0000 @@ -0,0 +1,10 @@ +--- 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 \