pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/bootstrap-mk-files Do not add -Werror or -Wno...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e374cff06d91
branches: trunk
changeset: 652997:e374cff06d91
user: joerg <joerg%pkgsrc.org@localhost>
date: Thu Jun 11 09:20:55 2015 +0000
description:
Do not add -Werror or -Wno-error in sys.mk, it is the generic ruleset
included everywhere.
diffstat:
pkgtools/bootstrap-mk-files/Makefile | 4 ++--
pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk | 8 +-------
pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk | 8 +-------
pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk | 8 +-------
pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk | 8 +-------
pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk | 7 +------
6 files changed, 7 insertions(+), 36 deletions(-)
diffs (117 lines):
diff -r 187ad41c4d8c -r e374cff06d91 pkgtools/bootstrap-mk-files/Makefile
--- a/pkgtools/bootstrap-mk-files/Makefile Thu Jun 11 08:51:00 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/Makefile Thu Jun 11 09:20:55 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.45 2015/06/04 16:38:10 ryoon Exp $
+# $NetBSD: Makefile,v 1.46 2015/06/11 09:20:55 joerg Exp $
-PKGNAME= bootstrap-mk-files-20150605
+PKGNAME= bootstrap-mk-files-20150611
CATEGORIES= pkgtools
CONFLICTS+= mk-files-[0-9]*
diff -r 187ad41c4d8c -r e374cff06d91 pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk Thu Jun 11 08:51:00 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk Thu Jun 11 09:20:55 2015 +0000
@@ -1,16 +1,10 @@
-# $NetBSD: FreeMiNT.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
+# $NetBSD: FreeMiNT.sys.mk,v 1.3 2015/06/11 09:20:56 joerg Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run FreeMiNT.
OS!= uname -s
-# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
-.if !defined(NOGCCERROR)
-CFLAGS+= -Werror
-.endif
-
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
.SUFFIXES: .sh .m4
diff -r 187ad41c4d8c -r e374cff06d91 pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk Thu Jun 11 08:51:00 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk Thu Jun 11 09:20:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GNUkFreeBSD.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
+# $NetBSD: GNUkFreeBSD.sys.mk,v 1.3 2015/06/11 09:20:56 joerg Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
@@ -84,12 +84,6 @@
YFLAGS?=
YACC.y?= ${YACC} ${YFLAGS}
-# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
-.if !defined(NOGCCERROR)
-CFLAGS+= -Werror
-.endif
-
# C
.c:
${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
diff -r 187ad41c4d8c -r e374cff06d91 pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk Thu Jun 11 08:51:00 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk Thu Jun 11 09:20:55 2015 +0000
@@ -1,16 +1,10 @@
-# $NetBSD: Haiku.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
+# $NetBSD: Haiku.sys.mk,v 1.3 2015/06/11 09:20:56 joerg Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Haiku.
OS!= uname -s
-# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
-.if !defined(NOGCCERROR)
-CFLAGS+= -Werror
-.endif
-
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
.SUFFIXES: .sh .m4
diff -r 187ad41c4d8c -r e374cff06d91 pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk Thu Jun 11 08:51:00 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk Thu Jun 11 09:20:55 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Linux.sys.mk,v 1.4 2015/06/04 17:11:33 ryoon Exp $
+# $NetBSD: Linux.sys.mk,v 1.5 2015/06/11 09:20:56 joerg Exp $
# NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
@@ -84,12 +84,6 @@
YFLAGS?=
YACC.y?= ${YACC} ${YFLAGS}
-# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
-.if !defined(NOGCCERROR)
-CFLAGS+= -Werror
-.endif
-
# C
.c:
${LINK.c} -o ${.TARGET} ${.IMPSRC} ${LDLIBS}
diff -r 187ad41c4d8c -r e374cff06d91 pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk Thu Jun 11 08:51:00 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk Thu Jun 11 09:20:55 2015 +0000
@@ -1,14 +1,9 @@
-# $NetBSD: Minix.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
+# $NetBSD: Minix.sys.mk,v 1.3 2015/06/11 09:20:56 joerg Exp $
# @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix.
OS?= Minix
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
-.if !defined(NOGCCERROR)
-CFLAGS+= -Werror
-.endif
-
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
.SUFFIXES: .sh .m4
Home |
Main Index |
Thread Index |
Old Index