diff make/linux/makefiles/vm.make @ 3464:be4ca325525a

Merge.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Jul 2011 17:32:44 -0700
parents 0654ee04b214 dddc5753c53a
children 44da449fc29c
line wrap: on
line diff
--- a/make/linux/makefiles/vm.make	Wed Jul 27 17:24:11 2011 -0700
+++ b/make/linux/makefiles/vm.make	Wed Jul 27 17:32:44 2011 -0700
@@ -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.