Module Name:    src
Committed By:   riz
Date:           Thu May 17 18:22:27 UTC 2012

Modified Files:
        src/sys/arch/powerpc/conf [netbsd-6]: Makefile.powerpc

Log Message:
Pull up following revision(s) (requested by matt in ticket #250):
        sys/arch/powerpc/conf/Makefile.powerpc: revision 1.50
For BookE kernels, use -mmultiple and -misel and enable -fstack-protector


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.49.2.1 src/sys/arch/powerpc/conf/Makefile.powerpc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/conf/Makefile.powerpc
diff -u src/sys/arch/powerpc/conf/Makefile.powerpc:1.49 src/sys/arch/powerpc/conf/Makefile.powerpc:1.49.2.1
--- src/sys/arch/powerpc/conf/Makefile.powerpc:1.49	Wed Feb  1 21:46:02 2012
+++ src/sys/arch/powerpc/conf/Makefile.powerpc	Thu May 17 18:22:27 2012
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.powerpc,v 1.49 2012/02/01 21:46:02 matt Exp $
+#	$NetBSD: Makefile.powerpc,v 1.49.2.1 2012/05/17 18:22:27 riz Exp $
 #
 # Makefile for NetBSD
 #
@@ -43,6 +43,11 @@ CWARNFLAGS+=	-Wreturn-type
 CFLAGS+=	-mno-strict-align
 CFLAGS+=	-Wa,-maltivec
 .endif
+.if ${PPCDIR} == "booke"
+DEFCOPTS=	-O2
+CFLAGS+=	-fstack-protector
+CFLAGS+=	-mmultiple -misel
+.endif
 CFLAGS+=	-msdata=none
 CFLAGS+=	-msoft-float ${CCPUOPTS}
 AFLAGS+=	${AOPTS} -D_NOREGNAMES

Reply via email to