summaryrefslogtreecommitdiffstats
path: root/main/openjdk6/icedtea-jdk-early-paxctl.patch
blob: ce4cabef69561d899f95c20f2abdef97a9ce84e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./openjdk/jdk/make/java/main/java/Makefile.orig	2013-04-26 08:10:58.853977182 +0000
+++ ./openjdk/jdk/make/java/main/java/Makefile	2013-04-26 08:15:20.819826501 +0000
@@ -58,6 +58,10 @@
 OTHER_CPPFLAGS += -DEXPAND_CLASSPATH_WILDCARDS
 OTHER_CPPFLAGS += -DLAUNCHER_NAME='"$(LAUNCHER_NAME)"'
 
+# We need pax mark java early
+$(ACTUAL_PROGRAM)::
+	paxctl -c -mr $@
+
 ifeq ($(PLATFORM), solaris)
 LDFLAGS += -R$(OPENWIN_LIB)
 endif