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