diff options
author | cognet <cognet@FreeBSD.org> | 2008-07-19 00:19:16 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2008-07-19 00:19:16 +0000 |
commit | 76a236f319bb3635218cb2c20322788d437ce2ad (patch) | |
tree | 5d22fade1301f210ee3b4d2db4d6fa0f78b3c033 /share/mk | |
parent | b36d6eb3e1336ae20138508af858d2761e358f0c (diff) | |
download | FreeBSD-src-76a236f319bb3635218cb2c20322788d437ce2ad.zip FreeBSD-src-76a236f319bb3635218cb2c20322788d437ce2ad.tar.gz |
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.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.sys.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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} |