diff options
author | wiz <wiz@pkgsrc.org> | 2019-11-04 08:39:04 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-11-04 08:39:04 +0000 |
commit | 21acc5e43a075f0d71f7e97aea886bcfe8882a10 (patch) | |
tree | 72346f895c1be1754c39fe69ac61e73abc990482 /pkgtools/pkgin | |
parent | 137efc9d03152904ce6d65f86ae9ec93b881abe1 (diff) | |
download | pkgsrc-21acc5e43a075f0d71f7e97aea886bcfe8882a10.tar.gz |
pkgin: fix build with gcc-8.x
Turn off string truncation and overflow warnings until the code is fixed
Diffstat (limited to 'pkgtools/pkgin')
-rw-r--r-- | pkgtools/pkgin/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgtools/pkgin/Makefile b/pkgtools/pkgin/Makefile index 71983c956c7..aded140314b 100644 --- a/pkgtools/pkgin/Makefile +++ b/pkgtools/pkgin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.91 2019/09/24 12:57:22 jperkin Exp $ +# $NetBSD: Makefile,v 1.92 2019/11/04 08:39:04 wiz Exp $ DISTNAME= pkgin-0.13.0 CATEGORIES= pkgtools @@ -38,6 +38,12 @@ USE_TOOLS+= nroff .include "../../mk/bsd.prefs.mk" +# needed for gcc-8.x as of pkgin-0.13.0 +.if !empty(PKGSRC_COMPILER:Mgcc) +CFLAGS+= -Wno-stringop-overflow +CFLAGS+= -Wno-stringop-truncation +.endif + SUBST_CLASSES.NetBSD+= osrel SUBST_STAGE.osrel= pre-configure SUBST_MESSAGE.osrel= Adjusting repository OS release |