Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/vmstat Work around gcc on sparc64 bug



details:   https://anonhg.NetBSD.org/src/rev/e1c31fe04f1b
branches:  trunk
changeset: 343947:e1c31fe04f1b
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 06 18:01:28 2016 +0000

description:
Work around gcc on sparc64 bug

diffstat:

 usr.bin/vmstat/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r e00e8d84bf78 -r e1c31fe04f1b usr.bin/vmstat/Makefile
--- a/usr.bin/vmstat/Makefile   Sun Mar 06 16:13:21 2016 +0000
+++ b/usr.bin/vmstat/Makefile   Sun Mar 06 18:01:28 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.32 2014/06/03 21:41:56 joerg Exp $
+#      $NetBSD: Makefile,v 1.33 2016/03/06 18:01:28 christos Exp $
 #      @(#)Makefile    8.1 (Berkeley) 6/6/93
 
 .include <bsd.own.mk>
@@ -16,4 +16,7 @@
 CWARNFLAGS.clang+=     -Wno-format-extra-args
 COPTS.vmstat.c += -Wno-format-nonliteral
 
+# sparc64 is broken!
+COPTS.vmstat.c += -Wno-error=stack-protector
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index