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/files Ride previous versio...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a20ecc2b1a68
branches:  trunk
changeset: 652575:a20ecc2b1a68
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Jun 04 17:11:33 2015 +0000

description:
Ride previous version bump.

My previous commit is wrong.
>From share/mk/bsd.README of NetBSD src/:

NOGCCERROR      If defined, prevents passing certain ${CFLAGS} to GCC
                that cause warnings to be fatal, such as:
                        -Werror -Wa,--fatal-warnings
                (The latter being for as(1).)

In !defined(NOGCCERROR) case, -Werror should be passed to CFLAGS.
This change may break many packages.

diffstat:

 pkgtools/bootstrap-mk-files/files/bsd.sys.mk              |  4 ++--
 pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk    |  4 ++--
 pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk |  4 ++--
 pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk       |  4 ++--
 pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk       |  4 ++--
 pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk       |  4 ++--
 pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk   |  4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diffs (126 lines):

diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/bsd.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/bsd.sys.mk      Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/bsd.sys.mk      Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.2 2015/06/04 16:38:10 ryoon Exp $
+#      $NetBSD: bsd.sys.mk,v 1.3 2015/06/04 17:11:33 ryoon Exp $
 #
 # Overrides used for NetBSD source tree builds.
 
@@ -22,7 +22,7 @@
 .endif
 
 .if !defined(NOGCCERROR)
-CFLAGS+= -Wno-error
+CFLAGS+= -Werror
 .endif
 CFLAGS+= ${CWARNFLAGS}
 
diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk    Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk    Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: FreeMiNT.sys.mk,v 1.1 2013/09/08 16:27:23 ryoon Exp $
+#      $NetBSD: FreeMiNT.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
 #      NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp 
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
@@ -8,7 +8,7 @@
 # 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+= -Wno-error
+CFLAGS+= -Werror
 .endif
 
 .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GNUkFreeBSD.sys.mk,v 1.1 2013/07/26 09:38:15 ryoon Exp $
+#      $NetBSD: GNUkFreeBSD.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
 #      NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp 
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
@@ -87,7 +87,7 @@
 # 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+= -Wno-error
+CFLAGS+= -Werror
 .endif
 
 # C
diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk       Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk       Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Haiku.sys.mk,v 1.1 2010/02/06 10:50:40 obache Exp $
+#      $NetBSD: Haiku.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
 #      NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp 
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
@@ -8,7 +8,7 @@
 # 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+= -Wno-error
+CFLAGS+= -Werror
 .endif
 
 .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk       Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk       Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Linux.sys.mk,v 1.3 2011/10/31 23:41:21 sbd Exp $
+#      $NetBSD: Linux.sys.mk,v 1.4 2015/06/04 17:11:33 ryoon Exp $
 #      NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp 
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
@@ -87,7 +87,7 @@
 # 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+= -Wno-error
+CFLAGS+= -Werror
 .endif
 
 # C
diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk       Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk       Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Minix.sys.mk,v 1.1 2011/11/06 21:01:30 tcort Exp $
+#      $NetBSD: Minix.sys.mk,v 1.2 2015/06/04 17:11:33 ryoon Exp $
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 
 unix?=         We run Unix.
@@ -6,7 +6,7 @@
 
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
 .if !defined(NOGCCERROR)
-CFLAGS+= -Wno-error
+CFLAGS+= -Werror
 .endif
 
 .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h
diff -r 3737f9243be0 -r a20ecc2b1a68 pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk
--- a/pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk   Thu Jun 04 16:43:36 2015 +0000
+++ b/pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk   Thu Jun 04 17:11:33 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: SunOS.bsd.sys.mk,v 1.2 2015/06/04 16:38:10 ryoon Exp $
+#      $NetBSD: SunOS.bsd.sys.mk,v 1.3 2015/06/04 17:11:33 ryoon Exp $
 #
 # Overrides used for NetBSD source tree builds.
 
@@ -27,7 +27,7 @@
 .endif
 
 .if !defined(NOGCCERROR)
-CFLAGS+= -Wno-error
+CFLAGS+= -Werror
 .endif
 CFLAGS+= ${CWARNFLAGS}
 



Home | Main Index | Thread Index | Old Index