From 2a9d1bb24dca70ca3d8aab11045250217c98596f Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 3 Mar 2015 09:23:02 +0000 Subject: [PATCH] Put -fno-unwind-tables into CFLAGS instead of COPTS - the old version caused DEFCOPTS not to be propagated into COPTS, which means no optimization for the kernel - ooops! --- sys/arch/shark/conf/Makefile.shark.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/shark/conf/Makefile.shark.inc b/sys/arch/shark/conf/Makefile.shark.inc index 7f0fa2e067f7..80e072c96a92 100644 --- a/sys/arch/shark/conf/Makefile.shark.inc +++ b/sys/arch/shark/conf/Makefile.shark.inc @@ -1,7 +1,7 @@ -# $NetBSD: Makefile.shark.inc,v 1.23 2014/11/25 07:42:35 martin Exp $ +# $NetBSD: Makefile.shark.inc,v 1.24 2015/03/03 09:23:02 martin Exp $ CPPFLAGS+= -D${MACHINE} -COPTS+= -fno-unwind-tables +CFLAGS+= -fno-unwind-tables GENASSYM_EXTRAS+= ${THISARM}/shark/genassym.cf # Need to convert the kernel from ELF to a.out so that OpenFirmware