specify segment __RWX in bootimage-lflags on Darwin to match new name used in binaryToObject

This commit is contained in:
Joel Dice 2009-10-13 19:14:03 -06:00
parent 0f4fc07048
commit c3824b0108

View File

@ -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