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/amdgpu Just disable -Wshadow and -Wmis...



details:   https://anonhg.NetBSD.org/src/rev/30082bb117db
branches:  trunk
changeset: 992979:30082bb117db
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 14:23:14 2018 +0000

description:
Just disable -Wshadow and -Wmissing-field-initializers for all amdgpu.

diffstat:

 sys/external/bsd/drm2/amdgpu/files.amdgpu |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (22 lines):

diff -r 80d69dd385eb -r 30082bb117db sys/external/bsd/drm2/amdgpu/files.amdgpu
--- a/sys/external/bsd/drm2/amdgpu/files.amdgpu Mon Aug 27 14:23:00 2018 +0000
+++ b/sys/external/bsd/drm2/amdgpu/files.amdgpu Mon Aug 27 14:23:14 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.amdgpu,v 1.4 2018/08/27 14:23:00 riastradh Exp $
+#      $NetBSD: files.amdgpu,v 1.5 2018/08/27 14:23:14 riastradh Exp $
 
 define amdgpufbbus     { }
 device amdgpu: drmkms, drmkms_pci, drmkms_ttm, amdgpufbbus, firmload
@@ -15,10 +15,8 @@
 makeoptions    amdgpu  CPPFLAGS+="-I$S/external/bsd/drm2/dist/drm/amd/amdgpu"
 makeoptions    amdgpu  CPPFLAGS+="-I$S/external/bsd/drm2/dist/drm/amd/scheduler"
 
-makeoptions    amdgpu  "CWARNFLAGS.amdgpu_drv.c"+="-Wno-missing-field-initializers"
-makeoptions    amdgpu  "CWARNFLAGS.amdgpu_dce_v10_0.c"+="-Wno-shadow"
-makeoptions    amdgpu  "CWARNFLAGS.amdgpu_dce_v11_0.c"+="-Wno-shadow"
-makeoptions    amdgpu  "CWARNFLAGS.amdgpu_vi.c"+="-Wno-missing-field-initializers"
+makeoptions    amdgpu  "CWARNFLAGS.amdgpu"+="-Wno-missing-field-initializers"
+makeoptions    amdgpu  "CWARNFLAGS.amdgpu"+="-Wno-shadow"
 
 # Local additions.
 file   external/bsd/drm2/amdgpu/amdgpu_module.c        amdgpu



Home | Main Index | Thread Index | Old Index