aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index ca6cd9600e..b840cc7822 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -172,6 +172,11 @@ ifeq ($(CONFIG_DARWIN),yes)
LIBS+=-lmx
endif
+ifdef CONFIG_DARWIN_USER
+# Leave some space for the regular program loading zone
+BASE_LDFLAGS+=-Wl,-segaddr,__STD_PROG_ZONE,0x1000 -image_base 0x0e000000
+endif
+
OP_CFLAGS+=$(OS_CFLAGS)
#########################################################