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/ttm Build ttm with -Wno-missing-field-...



details:   https://anonhg.NetBSD.org/src/rev/f7e31a3a70e5
branches:  trunk
changeset: 1028073:f7e31a3a70e5
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:47:31 2021 +0000

description:
Build ttm with -Wno-missing-field-initializers, -Wno-shadow.

diffstat:

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

diffs (19 lines):

diff -r d40ac701ed7f -r f7e31a3a70e5 sys/external/bsd/drm2/ttm/files.ttm
--- a/sys/external/bsd/drm2/ttm/files.ttm       Sun Dec 19 01:47:24 2021 +0000
+++ b/sys/external/bsd/drm2/ttm/files.ttm       Sun Dec 19 01:47:31 2021 +0000
@@ -1,10 +1,14 @@
-#      $NetBSD: files.ttm,v 1.3 2019/09/30 00:06:02 mrg Exp $
+#      $NetBSD: files.ttm,v 1.4 2021/12/19 01:47:31 riastradh Exp $
 
 # TTM, the texture and tiling manager.
 
+version        20180827
+
 define drmkms_ttm: drmkms
 
 makeoptions    drmkms  "CWARNFLAGS.ttm_bo.c"+="${${ACTIVE_CC} == gcc && ${HAVE_GCC:U0} >= 7:? -Wno-error=implicit-fallthrough :}"
+makeoptions    drmkms_ttm      "CWARNFLAGS.drmkms_ttm"+="-Wno-missing-field-initializers"
+makeoptions    drmkms_ttm      "CWARNFLAGS.drmkms_ttm"+="-Wno-shadow"
 
 file   external/bsd/drm2/ttm/ttm_agp_backend.c                 drmkms_ttm
 file   external/bsd/drm2/dist/drm/ttm/ttm_memory.c             drmkms_ttm



Home | Main Index | Thread Index | Old Index