Source-Changes-HG archive

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

[src/trunk]: src/gnu/usr.bin/gdb6/libgdb apply some -O0 for sun2.



details:   https://anonhg.NetBSD.org/src/rev/f59ee8a0c4f9
branches:  trunk
changeset: 766879:f59ee8a0c4f9
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 03 15:26:25 2011 +0000

description:
apply some -O0 for sun2.

diffstat:

 gnu/usr.bin/gdb6/libgdb/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 118d1d30ecf6 -r f59ee8a0c4f9 gnu/usr.bin/gdb6/libgdb/Makefile
--- a/gnu/usr.bin/gdb6/libgdb/Makefile  Sun Jul 03 15:26:06 2011 +0000
+++ b/gnu/usr.bin/gdb6/libgdb/Makefile  Sun Jul 03 15:26:25 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2011/04/10 16:47:04 joerg Exp $
+#      $NetBSD: Makefile,v 1.12 2011/07/03 15:26:25 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -44,3 +44,7 @@
 .if ${MACHINE} == "amiga"
 COPTS.dwarf2-frame.c+=-O1
 .endif
+
+.if defined(HAVE_GCC) && HAVE_GCC == 4 && ${MACHINE} == "sun2"
+COPTS.dwarf2-frame.c+=-O0
+.endif



Home | Main Index | Thread Index | Old Index