svn commit: r266920 - projects/arm64/sys/conf

Olivier Houchard cognet at FreeBSD.org
Sat May 31 11:07:31 UTC 2014


Author: cognet
Date: Sat May 31 11:07:30 2014
New Revision: 266920
URL: http://svnweb.freebsd.org/changeset/base/266920

Log:
  Define INLINE_LIMIT and disable -fstack-protector for arm64.

Modified:
  projects/arm64/sys/conf/kern.mk

Modified: projects/arm64/sys/conf/kern.mk
==============================================================================
--- projects/arm64/sys/conf/kern.mk	Sat May 31 06:17:34 2014	(r266919)
+++ projects/arm64/sys/conf/kern.mk	Sat May 31 11:07:30 2014	(r266920)
@@ -73,7 +73,7 @@ CFLAGS+=	-mno-mmx -mno-sse -msoft-float
 INLINE_LIMIT?=	8000
 .endif
 
-.if ${MACHINE_CPUARCH} == "arm"
+.if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "arm64"
 INLINE_LIMIT?=	8000
 .endif
 
@@ -159,7 +159,8 @@ CFLAGS+=	-ffreestanding
 # GCC SSP support
 #
 .if ${MK_SSP} != "no" && ${MACHINE_CPUARCH} != "ia64" && \
-    ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips"
+    ${MACHINE_CPUARCH} != "arm" && ${MACHINE_CPUARCH} != "mips" && \
+    ${MACHINE_CPUARCH} != "arm64"
 CFLAGS+=	-fstack-protector
 .endif
 


More information about the svn-src-projects mailing list