pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/xlog ham/xlog: Re-rototill -Wno-stringop-truncation
details: https://anonhg.NetBSD.org/pkgsrc/rev/db76d3179a5d
branches: trunk
changeset: 446138:db76d3179a5d
user: gdt <gdt%pkgsrc.org@localhost>
date: Thu Feb 04 20:15:31 2021 +0000
description:
ham/xlog: Re-rototill -Wno-stringop-truncation
Further investigation reveals this is present in recent clang and
recent gcc but not moderately old (but still very relevant) gcc.
diffstat:
ham/xlog/Makefile | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 304a68546eec -r db76d3179a5d ham/xlog/Makefile
--- a/ham/xlog/Makefile Thu Feb 04 20:02:14 2021 +0000
+++ b/ham/xlog/Makefile Thu Feb 04 20:15:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.94 2021/02/04 20:02:14 gdt Exp $
+# $NetBSD: Makefile,v 1.95 2021/02/04 20:15:31 gdt Exp $
#
DISTNAME= xlog-2.0.20
@@ -16,9 +16,6 @@
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gmake pkg-config
-# Fails with gcc 5.5.0 (netbsd-8) and clang.
-BUILDLINK_TRANSFORM+= rm:-Wno-stringop-truncation
-
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
@@ -34,6 +31,11 @@
CWRAPPERS_APPEND.cc+= -Wno-uninitialized
.endif
+.if !empty(PKGSRC_COMPILER:Mgcc)
+# Fails with gcc 5.5.0 (netbsd-8).
+BUILDLINK_TRANSFORM+= rm:-Wno-stringop-truncation
+.endif
+
.include "../../databases/shared-mime-info/buildlink3.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"
.include "../../ham/hamlib/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index