Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/byacc/bin Provide correct GCC_NORETURN



details:   https://anonhg.NetBSD.org/src/rev/e77880e0424e
branches:  trunk
changeset: 765349:e77880e0424e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue May 24 13:48:16 2011 +0000

description:
Provide correct GCC_NORETURN

diffstat:

 external/bsd/byacc/bin/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r 08e6dc6bc0b3 -r e77880e0424e external/bsd/byacc/bin/Makefile
--- a/external/bsd/byacc/bin/Makefile   Tue May 24 13:41:53 2011 +0000
+++ b/external/bsd/byacc/bin/Makefile   Tue May 24 13:48:16 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2009/10/29 00:56:35 christos Exp $
+#      $NetBSD: Makefile,v 1.2 2011/05/24 13:48:16 joerg Exp $
 
 .include "bsd.own.mk"
 
@@ -6,4 +6,6 @@
 SRCS=  closure.c error.c lalr.c lr0.c main.c mkpar.c output.c reader.c \
        skeleton.c symtab.c verbose.c warshall.c graph.c
 
+CPPFLAGS+=     -DGCC_NORETURN=__dead
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index