From c3824b010826d10e76e1c3592dca5d8089a6644c Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 13 Oct 2009 19:14:03 -0600 Subject: [PATCH] specify segment __RWX in bootimage-lflags on Darwin to match new name used in binaryToObject --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 5523fc80e5..6a2f5add4c 100644 --- a/makefile +++ b/makefile @@ -138,7 +138,7 @@ ifeq ($(platform),darwin) build-cflags = $(common-cflags) -fPIC -fvisibility=hidden -I$(src) lflags = $(common-lflags) -ldl -framework CoreFoundation -framework CoreServices ifeq ($(bootimage),true) - bootimage-lflags = -Wl,-segprot,__BOOT,rwx,rwx + bootimage-lflags = -Wl,-segprot,__RWX,rwx,rwx endif rdynamic = strip-all = -S -x