Source-Changes-HG archive

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

[src/trunk]: src adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}



details:   https://anonhg.NetBSD.org/src/rev/3934fe5957a8
branches:  trunk
changeset: 376185:3934fe5957a8
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Jun 03 21:30:20 2023 +0000

description:
adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}

Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of
the older style more complex expressions.

diffstat:

 bin/ksh/Makefile                                     |   6 ++----
 crypto/external/bsd/netpgp/bin/netpgpverify/Makefile |   6 ++----
 crypto/external/bsd/netpgp/lib/verify/Makefile       |   4 ++--
 crypto/external/bsd/openssh/bin/sftp/Makefile        |   6 ++----
 external/bsd/libevent/lib/libevent/Makefile          |  10 ++++------
 external/bsd/libpcap/lib/Makefile                    |   4 ++--
 external/bsd/ntp/Makefile.inc                        |  12 +++++-------
 external/bsd/pdisk/bin/Makefile                      |  12 ++++--------
 external/bsd/pkg_install/Makefile.inc                |   8 +++-----
 lib/libbz2/Makefile                                  |   6 ++----
 sys/conf/copts.mk                                    |  12 +++++-------
 sys/external/bsd/drm2/i915drm/files.i915drmkms       |   8 ++++----
 sys/external/bsd/drm2/nouveau/files.nouveau          |   4 ++--
 sys/external/bsd/drm2/radeon/files.radeon            |  10 +++++-----
 sys/external/bsd/drm2/ttm/files.ttm                  |   4 ++--
 sys/external/isc/atheros_hal/conf/files.ath_hal      |   6 +++---
 sys/modules/ath_hal/Makefile                         |   8 +++-----
 sys/modules/pf/Makefile                              |   7 ++-----
 sys/modules/radeondrm/Makefile                       |   6 ++----
 sys/modules/savagedrm/Makefile                       |   6 ++----
 sys/modules/viadrmums/Makefile                       |   6 ++----
 sys/modules/zlib/Makefile                            |   6 ++----
 sys/rump/kern/lib/libz/Makefile                      |   6 ++----
 usr.bin/stat/Makefile                                |   6 ++----
 usr.bin/telnet/Makefile                              |   6 ++----
 usr.sbin/quotacheck/Makefile                         |   6 ++----
 26 files changed, 70 insertions(+), 111 deletions(-)

diffs (truncated from 541 to 300 lines):

diff -r 4bdd21f880dd -r 3934fe5957a8 bin/ksh/Makefile
--- a/bin/ksh/Makefile  Sat Jun 03 21:28:52 2023 +0000
+++ b/bin/ksh/Makefile  Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.36 2019/09/29 23:44:58 mrg Exp $
+#      $NetBSD: Makefile,v 1.37 2023/06/03 21:30:20 lukem Exp $
 
 WARNS=3
 CWARNFLAGS.clang+=     -Wno-error=cast-qual
@@ -48,8 +48,6 @@ ksh.1: ksh.Man mkman
        ${HOST_SH} $(.CURDIR)/mkman ksh $(.CURDIR)/ksh.Man >ksh.1.tmp \
            && mv ksh.1.tmp ksh.1
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS+=        -Wno-error=implicit-fallthrough
-.endif
+COPTS+=        ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 .include <bsd.prog.mk>
diff -r 4bdd21f880dd -r 3934fe5957a8 crypto/external/bsd/netpgp/bin/netpgpverify/Makefile
--- a/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile      Sat Jun 03 21:28:52 2023 +0000
+++ b/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile      Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2023/06/03 09:09:01 lukem Exp $
+#      $NetBSD: Makefile,v 1.21 2023/06/03 21:30:20 lukem Exp $
 
 PROG=netpgpverify
 BINDIR=                /usr/bin
@@ -32,9 +32,7 @@ EXTDIST=${.CURDIR}/../../dist
 
 .include <bsd.own.mk>
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS+=        -Wno-error=implicit-fallthrough
-.endif
+COPTS+=                        ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 COPTS.libverify.c+=    ${CC_WNO_FORMAT_TRUNCATION}
 
diff -r 4bdd21f880dd -r 3934fe5957a8 crypto/external/bsd/netpgp/lib/verify/Makefile
--- a/crypto/external/bsd/netpgp/lib/verify/Makefile    Sat Jun 03 21:28:52 2023 +0000
+++ b/crypto/external/bsd/netpgp/lib/verify/Makefile    Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2023/06/03 09:09:01 lukem Exp $
+# $NetBSD: Makefile,v 1.16 2023/06/03 21:30:20 lukem Exp $
 
 LIB=netpgpverify
 SRCS+=b64.c
@@ -27,7 +27,7 @@ INCSDIR=/usr/include/netpgp
 
 .include <bsd.own.mk>
 
-COPTS+=                        ${${ACTIVE_CC} == "gcc":? -Wno-implicit-fallthrough :}
+COPTS+=                        ${CC_WNO_IMPLICIT_FALLTHROUGH}
 COPTS.libverify.c+=    ${CC_WNO_FORMAT_TRUNCATION}
 
 LINTFLAGS.bzlib.c+=    -X 161  # constant in conditional context
diff -r 4bdd21f880dd -r 3934fe5957a8 crypto/external/bsd/openssh/bin/sftp/Makefile
--- a/crypto/external/bsd/openssh/bin/sftp/Makefile     Sat Jun 03 21:28:52 2023 +0000
+++ b/crypto/external/bsd/openssh/bin/sftp/Makefile     Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2022/10/05 22:39:36 christos Exp $
+#      $NetBSD: Makefile,v 1.11 2023/06/03 21:30:20 lukem Exp $
 
 BINDIR=        /usr/bin
 
@@ -14,8 +14,6 @@ COPTS.sftp-client.c+= -Wno-pointer-sign
 
 .include <bsd.own.mk>
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.sftp.c+=         -Wno-error=implicit-fallthrough
-.endif
+COPTS.sftp.c+=         ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 .include <bsd.prog.mk>
diff -r 4bdd21f880dd -r 3934fe5957a8 external/bsd/libevent/lib/libevent/Makefile
--- a/external/bsd/libevent/lib/libevent/Makefile       Sat Jun 03 21:28:52 2023 +0000
+++ b/external/bsd/libevent/lib/libevent/Makefile       Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2019/02/04 04:05:16 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2023/06/03 21:30:20 lukem Exp $
 
 USE_SHLIBDIR=yes
 .include <bsd.own.mk>
@@ -29,10 +29,8 @@ poll.c \
 select.c \
 signal.c
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.bufferevent_filter.c += -Wno-error=implicit-fallthrough
-COPTS.evdns.c += -Wno-error=implicit-fallthrough
-COPTS.event.c += -Wno-error=implicit-fallthrough
-.endif
+COPTS.bufferevent_filter.c +=  ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.evdns.c +=               ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.event.c +=               ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 .include <bsd.lib.mk>
diff -r 4bdd21f880dd -r 3934fe5957a8 external/bsd/libpcap/lib/Makefile
--- a/external/bsd/libpcap/lib/Makefile Sat Jun 03 21:28:52 2023 +0000
+++ b/external/bsd/libpcap/lib/Makefile Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2023/06/03 09:09:04 lukem Exp $     
+# $NetBSD: Makefile,v 1.31 2023/06/03 21:30:21 lukem Exp $     
 
 USE_SHLIBDIR=yes
 .include <bsd.init.mk>
@@ -165,7 +165,7 @@ CLEANFILES+=        tokdefs.h scanner.h
 
 COPTS.bpf_image.c+=    -Wno-format-nonliteral
 
-COPTS.gencode.c+=      ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}
+COPTS.gencode.c+=      ${CC_WNO_IMPLICIT_FALLTHROUGH}
 COPTS.pcap.c+=         ${CC_WNO_FORMAT_TRUNCATION}
 COPTS.pcap-bpf.c+=     ${CC_WNO_STRINGOP_TRUNCATION}
 COPTS.pcap-new.c+=     ${CC_WNO_FORMAT_TRUNCATION}
diff -r 4bdd21f880dd -r 3934fe5957a8 external/bsd/ntp/Makefile.inc
--- a/external/bsd/ntp/Makefile.inc     Sat Jun 03 21:28:52 2023 +0000
+++ b/external/bsd/ntp/Makefile.inc     Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.22 2022/12/13 21:16:38 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.23 2023/06/03 21:30:21 lukem Exp $
 
 .if !defined(NTP_MAKEFILE_INC)
 NTP_MAKEFILE_INC=yes
@@ -64,12 +64,10 @@ CPPFLAGS+=-DISC_PLATFORM_NEEDIN6ADDRANY
 .include "${.CURDIR}/../../Makefile.inc"
 .endif
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.configfile.c+=           -Wno-error=implicit-fallthrough
-COPTS.libopts.c+=              -Wno-error=implicit-fallthrough
-COPTS.ntp_loopfilter.c+=       -Wno-error=implicit-fallthrough
-COPTS.refclock_ulink.c+=       -Wno-error=implicit-fallthrough
-.endif
+COPTS.configfile.c+=           ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.libopts.c+=              ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.ntp_loopfilter.c+=       ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.refclock_ulink.c+=       ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 .SUFFIXES: .1 .5 .8 .1ntpdmdoc .5mdoc .1ntp-keygenmdoc .1ntpdcmdoc .1ntpqmdoc .1sntpmdoc
 
diff -r 4bdd21f880dd -r 3934fe5957a8 external/bsd/pdisk/bin/Makefile
--- a/external/bsd/pdisk/bin/Makefile   Sat Jun 03 21:28:52 2023 +0000
+++ b/external/bsd/pdisk/bin/Makefile   Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2023/06/03 09:09:05 lukem Exp $ 
+#      $NetBSD: Makefile,v 1.6 2023/06/03 21:30:21 lukem Exp $ 
 
 .include <bsd.own.mk>
 WARNS=5
@@ -20,13 +20,9 @@ CPPFLAGS+=   -I${SRCDIR}
 
 CPPFLAGS+=     -D__unix__
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.file_media.c+=   -Wno-implicit-fallthrough
-COPTS.pathname.c+=     -Wno-implicit-fallthrough
-COPTS.pdisk.c+=                -Wno-implicit-fallthrough
-.endif
-
+COPTS.file_media.c+=   ${CC_WNO_IMPLICIT_FALLTHROUGH}
 COPTS.partition_map.c+=        ${CC_WNO_STRINGOP_TRUNCATION}
-COPTS.pdisk.c+=                ${CC_WNO_STRINGOP_TRUNCATION}
+COPTS.pathname.c+=     ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.pdisk.c+=                ${CC_WNO_IMPLICIT_FALLTHROUGH} ${CC_WNO_STRINGOP_TRUNCATION}
 
 .include <bsd.prog.mk>
diff -r 4bdd21f880dd -r 3934fe5957a8 external/bsd/pkg_install/Makefile.inc
--- a/external/bsd/pkg_install/Makefile.inc     Sat Jun 03 21:28:52 2023 +0000
+++ b/external/bsd/pkg_install/Makefile.inc     Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.7 2019/09/29 23:44:59 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.8 2023/06/03 21:30:21 lukem Exp $
 
 DIST=  ${NETBSDSRCDIR}/external/bsd/pkg_install/dist
 
@@ -15,7 +15,5 @@ CWARNFLAGS+=  -Wno-missing-noreturn
 .include <bsd.own.mk>
 
 # show_version() does not return
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.main.c+=         -Wno-error=implicit-fallthrough
-COPTS.pkg_delete.c+=   -Wno-error=implicit-fallthrough
-.endif
+COPTS.main.c+=         ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.pkg_delete.c+=   ${CC_WNO_IMPLICIT_FALLTHROUGH}
diff -r 4bdd21f880dd -r 3934fe5957a8 lib/libbz2/Makefile
--- a/lib/libbz2/Makefile       Sat Jun 03 21:28:52 2023 +0000
+++ b/lib/libbz2/Makefile       Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2019/09/29 23:44:59 mrg Exp $
+#      $NetBSD: Makefile,v 1.21 2023/06/03 21:30:21 lukem Exp $
 
 USE_FORT?= yes # data driven bugs?
 
@@ -20,9 +20,7 @@ INCSDIR=      /usr/include
 COPTS+=                -O0
 .endif
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS+=                -Wno-error=implicit-fallthrough
-.endif
+COPTS+=                ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 # XXX blocksort.c gets mis-compiled with 4.1
 .if (${MACHINE_ARCH} == "sh3el" || ${MACHINE_ARCH} == "sh3eb") && \
diff -r 4bdd21f880dd -r 3934fe5957a8 sys/conf/copts.mk
--- a/sys/conf/copts.mk Sat Jun 03 21:28:52 2023 +0000
+++ b/sys/conf/copts.mk Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: copts.mk,v 1.9 2023/06/03 09:09:13 lukem Exp $
+#      $NetBSD: copts.mk,v 1.10 2023/06/03 21:30:21 lukem Exp $
 
 # MI per-file compiler options required.
 
@@ -8,12 +8,10 @@
 .ifndef _SYS_CONF_COPTS_MK_
 _SYS_CONF_COPTS_MK_=1
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc"
-COPTS.zlib.c+=         -Wno-error=implicit-fallthrough
-COPTS.pf.c+=           -Wno-error=implicit-fallthrough
-COPTS.radeon_cs.c+=    -Wno-error=implicit-fallthrough
-COPTS.via_dmablit.c+=  -Wno-error=implicit-fallthrough
-.endif
+COPTS.zlib.c+=         ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.pf.c+=           ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.radeon_cs.c+=    ${CC_WNO_IMPLICIT_FALLTHROUGH}
+COPTS.via_dmablit.c+=  ${CC_WNO_IMPLICIT_FALLTHROUGH}
 
 .if defined(HAVE_GCC) && ${HAVE_GCC} >= 8 && ${ACTIVE_CC} == "gcc" && \
     (${MACHINE_ARCH} == "mipseb" || ${MACHINE_ARCH} == "mipsel")
diff -r 4bdd21f880dd -r 3934fe5957a8 sys/external/bsd/drm2/i915drm/files.i915drmkms
--- a/sys/external/bsd/drm2/i915drm/files.i915drmkms    Sat Jun 03 21:28:52 2023 +0000
+++ b/sys/external/bsd/drm2/i915drm/files.i915drmkms    Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.i915drmkms,v 1.88 2022/07/19 23:19:06 riastradh Exp $
+#      $NetBSD: files.i915drmkms,v 1.89 2023/06/03 21:30:22 lukem Exp $
 
 version        20180827
 
@@ -50,11 +50,11 @@ makeoptions i915drmkms      "CWARNFLAGS.i915_
 
 makeoptions    i915drmkms      "CWARNFLAGS.intel_sprite.c"+="${${ACTIVE_CC} == gcc:? -Wno-maybe-uninitialized :}"
 
-makeoptions    i915drmkms      "CWARNFLAGS.intel_ddi.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 10:? -Wno-maybe-uninitialized :} ${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? 
-Wno-implicit-fallthrough :}"
-makeoptions    i915drmkms      "CWARNFLAGS.intel_display.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-implicit-fallthrough :}"
+makeoptions    i915drmkms      "CWARNFLAGS.intel_ddi.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 10:? -Wno-maybe-uninitialized :} ${CC_WNO_IMPLICIT_FALLTHROUGH}"
+makeoptions    i915drmkms      "CWARNFLAGS.intel_display.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
 makeoptions    i915drmkms      "CWARNFLAGS.intel_guc_submission.c"+="${${ACTIVE_CC} == clang :? -Wno-unused-function :}"
 makeoptions    i915drmkms      "CWARNFLAGS.intel_hdmi.c"+="${${ACTIVE_CC} == clang :? -Wno-unused-function :}"
-makeoptions    i915drmkms      "CWARNFLAGS.intel_sdvo.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-implicit-fallthrough :}"
+makeoptions    i915drmkms      "CWARNFLAGS.intel_sdvo.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
 
 makeoptions    intelfb         "CPPFLAGS.intelfb"+="${CPPFLAGS.i915drmkms}"
 makeoptions    intelfb         "CWARNFLAGS.intelfb"+="${CWARNFLAGS.i915drmkms}"
diff -r 4bdd21f880dd -r 3934fe5957a8 sys/external/bsd/drm2/nouveau/files.nouveau
--- a/sys/external/bsd/drm2/nouveau/files.nouveau       Sat Jun 03 21:28:52 2023 +0000
+++ b/sys/external/bsd/drm2/nouveau/files.nouveau       Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.nouveau,v 1.38 2022/07/19 23:19:07 riastradh Exp $
+#      $NetBSD: files.nouveau,v 1.39 2023/06/03 21:30:22 lukem Exp $
 
 version        20180827
 
@@ -35,7 +35,7 @@ makeoptions   nouveau "CWARNFLAGS.nouveau"
 makeoptions    nouveau "CWARNFLAGS.nouveau"+="-Wno-pointer-arith"
 makeoptions    nouveau "CWARNFLAGS.nouveau"+="-Wno-shadow"
 makeoptions    nouveau "CWARNFLAGS.nouveau"+="${${ACTIVE_CC} == clang:? -Wno-error=gnu-variable-sized-type-not-at-end :}"
-makeoptions    nouveau "CWARNFLAGS.nouveau"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+makeoptions    nouveau "CWARNFLAGS.nouveau"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
 makeoptions    nouveau "CWARNFLAGS.nouveau_nvkm_subdev_bios_timing.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=int-in-bool-context :}"
 makeoptions    nouveau "CWARNFLAGS.nouveau_nvkm_subdev_clk_gt215.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=int-in-bool-context :}"
 makeoptions    nouveau "CWARNFLAGS.nouveau_nvkm_subdev_instmem_base.c"+="${${ACTIVE_CC} == clang :? -Wno-unused-function :}"
diff -r 4bdd21f880dd -r 3934fe5957a8 sys/external/bsd/drm2/radeon/files.radeon
--- a/sys/external/bsd/drm2/radeon/files.radeon Sat Jun 03 21:28:52 2023 +0000
+++ b/sys/external/bsd/drm2/radeon/files.radeon Sat Jun 03 21:30:20 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.radeon,v 1.37 2022/07/19 23:19:07 riastradh Exp $
+#      $NetBSD: files.radeon,v 1.38 2023/06/03 21:30:22 lukem Exp $
 
 version        20180827
 
@@ -36,10 +36,10 @@ makeoptions radeon  "CWARNFLAGS.radeon"+=
 
 makeoptions    radeon  "CWARNFLAGS.radeon"+="${${ACTIVE_CC} == gcc:? -Wno-maybe-uninitialized :}"
 
-#makeoptions   radeon  "CWARNFLAGS.radeon_cs.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
-makeoptions    radeon  "CWARNFLAGS.radeon_evergreen_cs.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
-makeoptions    radeon  "CWARNFLAGS.radeon_r300.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
-makeoptions    radeon  "CWARNFLAGS.radeon_r420.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+#makeoptions   radeon  "CWARNFLAGS.radeon_cs.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
+makeoptions    radeon  "CWARNFLAGS.radeon_evergreen_cs.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
+makeoptions    radeon  "CWARNFLAGS.radeon_r300.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
+makeoptions    radeon  "CWARNFLAGS.radeon_r420.c"+="${CC_WNO_IMPLICIT_FALLTHROUGH}"
 makeoptions    radeon  "CWARNFLAGS.radeon_uvd.c"+="${${ACTIVE_CC} == clang:? -Wno-format :}"
 
 file   external/bsd/drm2/radeon/radeon_module.c                radeon



Home | Main Index | Thread Index | Old Index