From 76a236f319bb3635218cb2c20322788d437ce2ad Mon Sep 17 00:00:00 2001 From: cognet Date: Sat, 19 Jul 2008 00:19:16 +0000 Subject: Disable SSP on arm for the time being. The segfaults when using SSP seem to be a gcc bug, a patch is available in the gcc bugzilla, and will be imported once it's committed into the official gcc tree. --- share/mk/bsd.sys.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share/mk/bsd.sys.mk') diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 920fc25..0204231 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -74,7 +74,8 @@ CWARNFLAGS += -Werror CWARNFLAGS += -Wno-unknown-pragmas .endif -.if ${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64" +.if ${MK_SSP} != "no" && ${CC} != "icc" && ${MACHINE_ARCH} != "ia64" && \ + ${MACHINE_ARCH} != "arm" # Don't use -Wstack-protector as it breaks world with -Werror. SSP_CFLAGS ?= -fstack-protector CFLAGS += ${SSP_CFLAGS} -- cgit v1.1