pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/binutils binutils: remove CFLAGS.OpenBSD+= -Wno-...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e85ec217a2e8
branches:  trunk
changeset: 443419:e85ec217a2e8
user:      fcambus <fcambus%pkgsrc.org@localhost>
date:      Sat Dec 12 16:41:13 2020 +0000

description:
binutils: remove CFLAGS.OpenBSD+= -Wno-bounded directive.

This was added in 2014 in r1.57 along with patches to add OpenBSD/amd64
5.4 support, which have long been removed.

In OpenBSD 6.2, the default compiler on amd64 was switched from GCC to
Clang, which does not support this option and emits unknown warning
option '-Wno-bounded' warnings.

diffstat:

 devel/binutils/Makefile |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (18 lines):

diff -r a55c05c0540b -r e85ec217a2e8 devel/binutils/Makefile
--- a/devel/binutils/Makefile   Sat Dec 12 13:33:12 2020 +0000
+++ b/devel/binutils/Makefile   Sat Dec 12 16:41:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.89 2020/12/11 10:02:16 fcambus Exp $
+# $NetBSD: Makefile,v 1.90 2020/12/12 16:41:13 fcambus Exp $
 
 DISTNAME=      binutils-2.35.1
 PKGREVISION=   2
@@ -85,8 +85,6 @@
 CONFIGURE_ARGS+=       --enable-gold --enable-plugins
 .endif
 
-CFLAGS.OpenBSD+=       -Wno-bounded
-
 .include "../../mk/compiler.mk"
 .if !empty(PKGSRC_COMPILER:Mclang)
 CFLAGS+=       -Wno-unused-value -Wno-format-security \



Home | Main Index | Thread Index | Old Index