diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-17 20:07:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-17 20:07:00 +0000 |
commit | b594e13ba23fd5b3f3a724598e813c97078d75f1 (patch) | |
tree | 1836f14de9e11130530c1c1632b14a4b3aeac8c5 /lang | |
parent | 053060bc25a9500d494b8bee1b84ab38414a2471 (diff) | |
download | pkgsrc-b594e13ba23fd5b3f3a724598e813c97078d75f1.tar.gz |
lang/gcc48: build even with -Werror=char-subscripts
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc48/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index 470ec02905c..6d81e2d9a61 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2020/05/03 17:37:47 rillig Exp $ +# $NetBSD: Makefile,v 1.46 2020/05/17 20:07:00 rillig Exp $ GCC_PKGNAME= gcc48 .include "version.mk" @@ -142,6 +142,12 @@ CONFIGURE_ARGS+= --with-gnu-as --with-as=${PREFIX}/bin/gas . endif .endif +# libgfortran/runtime/environ.c:119:5: error: array subscript has type 'char' +# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177 +# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95178 +# Not worth fixing though since nobody cared between 2014 and 2020. +BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts + pre-configure: .if ${OPSYS} == "OpenBSD" cd ${WRKSRC}/gcc && \ |