hotspot/make/linux/makefiles/vm.make
changeset 9406 e496a3f30199
parent 9133 1c8d07466fdb
child 10559 a94d067da388
--- a/hotspot/make/linux/makefiles/vm.make	Thu Apr 28 08:24:46 2011 -0700
+++ b/hotspot/make/linux/makefiles/vm.make	Fri Apr 29 21:13:00 2011 +0400
@@ -102,6 +102,10 @@
 CFLAGS += $(EXTRA_CFLAGS)
 LFLAGS += $(EXTRA_CFLAGS)
 
+# Don't set excutable bit on stack segment
+# the same could be done by separate execstack command
+LFLAGS += -Xlinker -z -Xlinker noexecstack
+
 LIBS += -lm -ldl -lpthread
 
 # By default, link the *.o into the library, not the executable.