Module Name:    src
Committed By:   mrg
Date:           Sun Jul  3 15:26:25 UTC 2011

Modified Files:
        src/gnu/usr.bin/gdb6/libgdb: Makefile

Log Message:
apply some -O0 for sun2.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/gnu/usr.bin/gdb6/libgdb/Makefile

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

Modified files:

Index: src/gnu/usr.bin/gdb6/libgdb/Makefile
diff -u src/gnu/usr.bin/gdb6/libgdb/Makefile:1.11 src/gnu/usr.bin/gdb6/libgdb/Makefile:1.12
--- src/gnu/usr.bin/gdb6/libgdb/Makefile:1.11	Sun Apr 10 16:47:04 2011
+++ src/gnu/usr.bin/gdb6/libgdb/Makefile	Sun Jul  3 15:26:25 2011
@@ -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

Reply via email to