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/drm Use -Wno-missing-field-initializer...



details:   https://anonhg.NetBSD.org/src/rev/8ee9cb366238
branches:  trunk
changeset: 1027829:8ee9cb366238
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 00:54:15 2021 +0000

description:
Use -Wno-missing-field-initializers for drm to reduce diffs.

diffstat:

 sys/external/bsd/drm2/drm/files.drmkms |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ca76c459463a -r 8ee9cb366238 sys/external/bsd/drm2/drm/files.drmkms
--- a/sys/external/bsd/drm2/drm/files.drmkms    Sun Dec 19 00:50:26 2021 +0000
+++ b/sys/external/bsd/drm2/drm/files.drmkms    Sun Dec 19 00:54:15 2021 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: files.drmkms,v 1.42 2021/12/19 00:31:35 riastradh Exp $
+#      $NetBSD: files.drmkms,v 1.43 2021/12/19 00:54:15 riastradh Exp $
+
+version        20180827
 
 include "external/bsd/drm2/linux/files.drmkms_linux"
 
@@ -35,6 +37,8 @@
 makeoptions    drmkms  CPPFLAGS+="-DCONFIG_DRM_FBDEV_EMULATION=1"
 makeoptions    drmkms  CPPFLAGS+="-DCONFIG_FB=0"
 
+makeoptions    drmkms  "CWARNFLAGS.drmkms"+="-Wno-missing-field-initializers"
+
 # NetBSD additions.
 file   external/bsd/drm2/drm/drm_agp_hook.c            drmkms
 file   external/bsd/drm2/drm/drm_cdevsw.c              drmkms



Home | Main Index | Thread Index | Old Index