Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/shark/conf Put -fno-unwind-tables into CFLAGS inste...



details:   https://anonhg.NetBSD.org/src/rev/5b4454ad3141
branches:  trunk
changeset: 336480:5b4454ad3141
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Mar 03 09:23:02 2015 +0000

description:
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!

diffstat:

 sys/arch/shark/conf/Makefile.shark.inc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 97c7365f35bd -r 5b4454ad3141 sys/arch/shark/conf/Makefile.shark.inc
--- a/sys/arch/shark/conf/Makefile.shark.inc    Tue Mar 03 09:22:06 2015 +0000
+++ b/sys/arch/shark/conf/Makefile.shark.inc    Tue Mar 03 09:23:02 2015 +0000
@@ -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



Home | Main Index | Thread Index | Old Index