changeset 2596:d5248acd8b04

. Fix the build on MacOS X where ld doesn't support the -z option. Reported by: Henri Gomez <henri.gomez@gmail.com>
author Greg Lewis <glewis@eyesbeyond.com>
date Mon, 16 May 2011 13:12:59 -0700
parents 3eec55c8d534
children af1c92690fa4
files make/bsd/makefiles/vm.make
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/bsd/makefiles/vm.make	Fri May 13 22:29:56 2011 -0700
+++ b/make/bsd/makefiles/vm.make	Mon May 16 13:12:59 2011 -0700
@@ -108,7 +108,9 @@
 
 # Don't set excutable bit on stack segment
 # the same could be done by separate execstack command
+ifneq ($(OS_VENDOR), Darwin)
 LFLAGS += -Xlinker -z -Xlinker noexecstack
+endif
 
 LIBS += -lm -pthread