Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules Carry new CWARNFLAGS over to module reachover ma...
details: https://anonhg.NetBSD.org/src/rev/147cdabec0fa
branches: trunk
changeset: 1007325:147cdabec0fa
user: riastradh <riastradh%NetBSD.org@localhost>
date: Fri Feb 14 09:35:52 2020 +0000
description:
Carry new CWARNFLAGS over to module reachover makefiles.
Forgot these modules existed!
diffstat:
sys/modules/drmkms/Makefile | 5 ++++-
sys/modules/i915drmkms/Makefile | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (38 lines):
diff -r 441748db401e -r 147cdabec0fa sys/modules/drmkms/Makefile
--- a/sys/modules/drmkms/Makefile Fri Feb 14 09:35:40 2020 +0000
+++ b/sys/modules/drmkms/Makefile Fri Feb 14 09:35:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/02/17 04:05:47 rin Exp $
+# $NetBSD: Makefile,v 1.13 2020/02/14 09:35:52 riastradh Exp $
.include "../Makefile.inc"
.include "Makefile.inc"
@@ -29,8 +29,11 @@
# XXX CWARNFLAGS.foo.c doesn't work.
COPTS.drm_atomic_helper.c+= -Wno-shadow
+COPTS.drm_bufs.c+= -Wno-pointer-arith
COPTS.drm_crtc.c+= -Wno-missing-field-initializers
+COPTS.drm_crtc.c+= -Wno-pointer-arith
COPTS.drm_crtc.c+= -Wno-shadow
+COPTS.drm_dp_helper.c+= -Wno-pointer-arith
COPTS.drm_edid.c+= -Wno-shadow
COPTS.drm_ioctl.c+= -Wno-shadow
diff -r 441748db401e -r 147cdabec0fa sys/modules/i915drmkms/Makefile
--- a/sys/modules/i915drmkms/Makefile Fri Feb 14 09:35:40 2020 +0000
+++ b/sys/modules/i915drmkms/Makefile Fri Feb 14 09:35:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2019/09/29 23:45:00 mrg Exp $
+# $NetBSD: Makefile,v 1.15 2020/02/14 09:35:52 riastradh Exp $
.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"
@@ -25,6 +25,7 @@
CPPFLAGS+= -DNVGA=1
CWARNFLAGS+= -Wno-shadow
+CWARNFLAGS+= -Wno-pointer-arith
COPTS.i915_drv.c+= ${${ACTIVE_CC} == "gcc":? -Wno-override-init :}
COPTS.i915_drv.c+= ${${ACTIVE_CC} == "clang":? -Wno-initializer-overrides :}
Home |
Main Index |
Thread Index |
Old Index