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.
This commit is contained in:
ryoon 2015-06-04 17:11:33 +00:00
parent 7287b14ecc
commit ac93782508
7 changed files with 14 additions and 14 deletions

View file

@ -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. # Overrides used for NetBSD source tree builds.
@ -22,7 +22,7 @@ CFLAGS+=-Wnetbsd-format-audit -Wno-format-extra-args
.endif .endif
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
CFLAGS+= ${CWARNFLAGS} CFLAGS+= ${CWARNFLAGS}

View file

@ -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 # NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94 # @(#)sys.mk 8.2 (Berkeley) 3/21/94
@ -8,7 +8,7 @@ OS!= uname -s
# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite() # At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h

View file

@ -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 # NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94 # @(#)sys.mk 8.2 (Berkeley) 3/21/94
@ -87,7 +87,7 @@ YACC.y?= ${YACC} ${YFLAGS}
# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite() # At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
# C # C

View file

@ -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 # NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94 # @(#)sys.mk 8.2 (Berkeley) 3/21/94
@ -8,7 +8,7 @@ OS!= uname -s
# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite() # At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h

View file

@ -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 # NetBSD: sys.mk,v 1.58 2000/08/22 17:38:49 bjh21 Exp
# @(#)sys.mk 8.2 (Berkeley) 3/21/94 # @(#)sys.mk 8.2 (Berkeley) 3/21/94
@ -87,7 +87,7 @@ YACC.y?= ${YACC} ${YFLAGS}
# At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite() # At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite()
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
# C # C

View file

@ -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 # @(#)sys.mk 8.2 (Berkeley) 3/21/94
unix?= We run Unix. unix?= We run Unix.
@ -6,7 +6,7 @@ OS?= Minix
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
.SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h .SUFFIXES: .out .a .ln .o .s .S .c .cc .cpp .cxx .C .F .f .r .y .l .cl .p .h

View file

@ -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. # Overrides used for NetBSD source tree builds.
@ -27,7 +27,7 @@ CFLAGS+= -Wnetbsd-format-audit -Wno-format-extra-args
.endif .endif
.if !defined(NOGCCERROR) .if !defined(NOGCCERROR)
CFLAGS+= -Wno-error CFLAGS+= -Werror
.endif .endif
CFLAGS+= ${CWARNFLAGS} CFLAGS+= ${CWARNFLAGS}