Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/nouveau Compile all of nouveau with -W...



details:   https://anonhg.NetBSD.org/src/rev/aab6a8efb512
branches:  trunk
changeset: 1028360:aab6a8efb512
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 10:48:22 2021 +0000

description:
Compile all of nouveau with -Wno-pointer-arith.

diffstat:

 sys/external/bsd/drm2/nouveau/files.nouveau |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (25 lines):

diff -r a3a106f061cb -r aab6a8efb512 sys/external/bsd/drm2/nouveau/files.nouveau
--- a/sys/external/bsd/drm2/nouveau/files.nouveau       Sun Dec 19 10:48:14 2021 +0000
+++ b/sys/external/bsd/drm2/nouveau/files.nouveau       Sun Dec 19 10:48:22 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.nouveau,v 1.32 2021/12/19 00:32:03 riastradh Exp $
+#      $NetBSD: files.nouveau,v 1.33 2021/12/19 10:48:22 riastradh Exp $
 
 version        20180827
 
@@ -29,14 +29,12 @@
 makeoptions    nouveau CPPFLAGS+="-DCONFIG_NOUVEAU_DEBUG_DEFAULT=3"
 
 makeoptions    nouveau "CWARNFLAGS.nouveau"+="-Wno-missing-field-initializers"
+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_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"+="-Wno-pointer-arith"
-makeoptions    nouveau "CWARNFLAGS.nouveau_nvkm_subdev_bios_shadowpci.c"+="-Wno-pointer-arith"
-makeoptions    nouveau "CWARNFLAGS.nouveau_nvkm_subdev_instmem_nv40.c"+="-Wno-pointer-arith"
 
 file   external/bsd/drm2/nouveau/nouveau_module.c      nouveau
 



Home | Main Index | Thread Index | Old Index