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/b6517bf295db
branches: trunk
changeset: 835361:b6517bf295db
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 0d9022952b26 -r b6517bf295db 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