Source-Changes-HG archive

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

[src/trunk]: src/share/mk disable -Wabi for GCC 9.



details:   https://anonhg.NetBSD.org/src/rev/e50e4af5cd74
branches:  trunk
changeset: 943520:e50e4af5cd74
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Sep 05 13:38:43 2020 +0000

description:
disable -Wabi for GCC 9.

diffstat:

 share/mk/bsd.sys.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5c0aeb8b76aa -r e50e4af5cd74 share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Sat Sep 05 13:38:24 2020 +0000
+++ b/share/mk/bsd.sys.mk       Sat Sep 05 13:38:43 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.302 2020/07/03 16:12:16 maxv Exp $
+#      $NetBSD: bsd.sys.mk,v 1.303 2020/09/05 13:38:43 mrg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -103,7 +103,7 @@
 CFLAGS+=       -Wextra -Wno-unused-parameter
 # Readd -Wno-sign-compare to override -Wextra with clang
 CFLAGS+=       -Wno-sign-compare
-.if "${ACTIVE_CC}" == "gcc" && ${HAVE_GCC} != "8"
+.if "${ACTIVE_CC}" == "gcc" && ${HAVE_GCC} < 8
 #  XXX: Won't warn about anything.  -Wabi warns about differences from
 #  the most up-to-date ABI, which in g++ 8 is used by default.
 CXXFLAGS+=     -Wabi



Home | Main Index | Thread Index | Old Index