pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/ham/xlog
Module Name: pkgsrc
Committed By: gdt
Date: Thu Feb 4 21:47:31 UTC 2021
Modified Files:
pkgsrc/ham/xlog: Makefile
Log Message:
ham/xlog: Limit -Wno-stringop-truncation to gcc 4/5.
To generate a diff of this commit:
cvs rdiff -u -r1.95 -r1.96 pkgsrc/ham/xlog/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/ham/xlog/Makefile
diff -u pkgsrc/ham/xlog/Makefile:1.95 pkgsrc/ham/xlog/Makefile:1.96
--- pkgsrc/ham/xlog/Makefile:1.95 Thu Feb 4 20:15:31 2021
+++ pkgsrc/ham/xlog/Makefile Thu Feb 4 21:47:30 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.95 2021/02/04 20:15:31 gdt Exp $
+# $NetBSD: Makefile,v 1.96 2021/02/04 21:47:30 gdt Exp $
#
DISTNAME= xlog-2.0.20
@@ -31,8 +31,9 @@ _WRAP_EXTRA_ARGS.CC+= -Wno-uninitialized
CWRAPPERS_APPEND.cc+= -Wno-uninitialized
.endif
-.if !empty(PKGSRC_COMPILER:Mgcc)
-# Fails with gcc 5.5.0 (netbsd-8).
+# Fails with gcc 5.5.0 (netbsd-8), and presumably earlier.
+# OK with gcc 7.4.0, and OK with at least recent clang.
+.if !empty(CC_VERSION:Mgcc-[45].*)
BUILDLINK_TRANSFORM+= rm:-Wno-stringop-truncation
.endif
Home |
Main Index |
Thread Index |
Old Index