From 88e25983c974b4414ab5efedb432f5df4c7e88a3 Mon Sep 17 00:00:00 2001 From: weissms Date: Sun, 12 Jun 2011 09:18:16 +0000 Subject: [PATCH] Switch off __memset_chk for darwin. git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@39164 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/all-unix/exec/mmakefile.src | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/all-unix/exec/mmakefile.src b/arch/all-unix/exec/mmakefile.src index c7a306bd9a..296d93c2c9 100644 --- a/arch/all-unix/exec/mmakefile.src +++ b/arch/all-unix/exec/mmakefile.src @@ -7,6 +7,10 @@ USER_CFLAGS := -DHAVE_SWAPCONTEXT FILES += newstackswap endif +ifeq ($(ARCH),darwin) +USER_CFLAGS += -D_FORTIFY_SOURCE=0 +endif + USER_INCLUDES := -I$(SRCDIR)/$(CURDIR) \ -I$(SRCDIR)/rom/exec -isystem $(GENINCDIR) $(KERNEL_INCLUDES) \ -DHOST_OS_$(ARCH) -DHOST_OS_$(AROS_TARGET_VARIANT) -- 2.11.4.GIT