diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-06-04 17:11:33 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-06-04 17:11:33 +0000 |
commit | 419e0bcdb709b818bae0bb40eaa89a5bdee58f2c (patch) | |
tree | 31f981f16fd5a905a1573fe6e42b958a984d36ec /pkgtools/bootstrap-mk-files | |
parent | 11ea25fd6651d3ebe1d1b80edacb6e5b621ec0ab (diff) | |
download | pkgsrc-419e0bcdb709b818bae0bb40eaa89a5bdee58f2c.tar.gz |
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 (limited to 'pkgtools/bootstrap-mk-files')
7 files changed, 14 insertions, 14 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/bsd.sys.mk b/pkgtools/bootstrap-mk-files/files/bsd.sys.mk index 183eeb4ead0..64482885ce2 100644 --- a/pkgtools/bootstrap-mk-files/files/bsd.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/bsd.sys.mk @@ -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 @@ CFLAGS+=-Wnetbsd-format-audit -Wno-format-extra-args .endif .if !defined(NOGCCERROR) -CFLAGS+= -Wno-error +CFLAGS+= -Werror .endif CFLAGS+= ${CWARNFLAGS} diff --git a/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk index ae2579261f7..1d2e0472e82 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/FreeMiNT.sys.mk @@ -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 @@ 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+= -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 --git a/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk index 494512704f9..a87acafa42b 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/GNUkFreeBSD.sys.mk @@ -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 @@ 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+= -Wno-error +CFLAGS+= -Werror .endif # C diff --git a/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk index 67a0371b6c2..f785021077e 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/Haiku.sys.mk @@ -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 @@ 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+= -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 --git a/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk index 917dd7f0be4..ff4915acf2b 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/Linux.sys.mk @@ -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 @@ 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+= -Wno-error +CFLAGS+= -Werror .endif # C diff --git a/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk index 5ca1f92c662..4560fbd017b 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/Minix.sys.mk @@ -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 @@ OS?= Minix # 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 --git a/pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk b/pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk index 44529066210..d96eedb6d81 100644 --- a/pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk +++ b/pkgtools/bootstrap-mk-files/files/mods/SunOS.bsd.sys.mk @@ -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 @@ CFLAGS+= -Wnetbsd-format-audit -Wno-format-extra-args .endif .if !defined(NOGCCERROR) -CFLAGS+= -Wno-error +CFLAGS+= -Werror .endif CFLAGS+= ${CWARNFLAGS} |