/hg/icedtea6: Added LDFLAGS for JamVM to fix the SELinux executa...

ptisnovs at icedtea.classpath.org ptisnovs at icedtea.classpath.org
Mon Aug 15 02:10:22 PDT 2011


changeset 773cee7545f2 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=773cee7545f2
author: ptisnovs
date: Mon Aug 15 11:10:04 2011 +0200

	Added LDFLAGS for JamVM to fix the SELinux executable flag issue.


diffstat:

 ChangeLog   |  5 +++++
 Makefile.am |  1 +
 NEWS        |  1 +
 3 files changed, 7 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r e93e0b640f06 -r 773cee7545f2 ChangeLog
--- a/ChangeLog	Mon Aug 15 10:47:57 2011 +0200
+++ b/ChangeLog	Mon Aug 15 11:10:04 2011 +0200
@@ -1,3 +1,8 @@
+2011-08-15  Pavel Tisnovsky  <ptisnovs at redhat.com>
+
+	* Makefile.am: added LDFLAGS for JamVM to fix the SELinux
+	executable flag issue.
+
 2011-08-15  Pavel Tisnovsky  <ptisnovs at redhat.com>
 
 	* Makefile.am: added new patch
diff -r e93e0b640f06 -r 773cee7545f2 Makefile.am
--- a/Makefile.am	Mon Aug 15 10:47:57 2011 +0200
+++ b/Makefile.am	Mon Aug 15 11:10:04 2011 +0200
@@ -1814,6 +1814,7 @@
 stamps/jamvm.stamp: $(OPENJDK_TREE) stamps/rt.stamp
 if BUILD_JAMVM
 	cd jamvm/jamvm && \
+	LDFLAGS="-Xlinker -z -Xlinker noexecstack" \
 	./autogen.sh --with-java-runtime-library=openjdk \
 	  --prefix=$(abs_top_builddir)/jamvm/install ; \
 	$(MAKE) ; \
diff -r e93e0b640f06 -r 773cee7545f2 NEWS
--- a/NEWS	Mon Aug 15 10:47:57 2011 +0200
+++ b/NEWS	Mon Aug 15 11:10:04 2011 +0200
@@ -402,6 +402,7 @@
   - Add extra includes to get rid off compiler warning.
   - Rework OpenJDK storage of native thread structure.
   - Implement remaining OpenJDK Array reflection interface.
+  - Added LDFLAGS for JamVM to fix the SELinux executable flag issue.
 * Zero/Shark
   - PR690: Shark fails to JIT using hs20.
   - PR696: Zero fails to handle fast_aldc and fast_aldc_w in hs20.



More information about the distro-pkg-dev mailing list