Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/mk Pass W with IDU for lint and deps.



details:   https://anonhg.NetBSD.org/src/rev/77fb9c53e5cc
branches:  trunk
changeset: 1027649:77fb9c53e5cc
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 14 16:22:07 2021 +0000

description:
Pass W with IDU for lint and deps.

diffstat:

 share/mk/bsd.dep.mk |  10 +++++-----
 share/mk/bsd.sys.mk |   6 +++---
 share/mk/sys.mk     |   4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)

diffs (83 lines):

diff -r 4ed786083e47 -r 77fb9c53e5cc share/mk/bsd.dep.mk
--- a/share/mk/bsd.dep.mk       Tue Dec 14 16:13:37 2021 +0000
+++ b/share/mk/bsd.dep.mk       Tue Dec 14 16:22:07 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.dep.mk,v 1.87 2020/07/01 07:38:29 lukem Exp $
+#      $NetBSD: bsd.dep.mk,v 1.88 2021/12/14 16:22:07 christos Exp $
 
 ##### Basic targets
 realdepend:    beforedepend .depend afterdepend
@@ -61,7 +61,7 @@
 .c.d:
        ${_MKTARGET_CREATE}
        ${MKDEP} -f ${.TARGET}.tmp ${_MKDEP_FILEFLAGS} -- ${MKDEPFLAGS} \
-           ${CFLAGS:M-std=*} ${CFLAGS:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*} \
+           ${CFLAGS:M-std=*} ${CFLAGS:C/-([IDUW])[  ]*/-\1/Wg:M-[IDUW]*} \
            ${CPPFLAGS:N-Wp,-iremap,*} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} \
            ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC} && \
            ${MV} ${.TARGET}.tmp ${.TARGET}
@@ -69,7 +69,7 @@
 .m.d:
        ${_MKTARGET_CREATE}
        ${MKDEP} -f ${.TARGET}.tmp ${_MKDEP_FILEFLAGS} -- ${MKDEPFLAGS} \
-           ${OBJCFLAGS:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*} \
+           ${OBJCFLAGS:C/-([IDUW])[  ]*/-\1/Wg:M-[IDUW]*} \
            ${CPPFLAGS:N-Wp,-iremap,*} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} \
            ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC} && \
            ${MV} ${.TARGET}.tmp ${.TARGET}
@@ -77,7 +77,7 @@
 .s.d .S.d:
        ${_MKTARGET_CREATE}
        ${MKDEP} -f ${.TARGET}.tmp ${_MKDEP_FILEFLAGS} -- ${MKDEPFLAGS} \
-           ${AFLAGS:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*} \
+           ${AFLAGS:C/-([IDUW])[  ]*/-\1/Wg:M-[IDUW]*} \
            ${CPPFLAGS:N-Wp,-iremap,*} ${AFLAGS.${.IMPSRC:T}} ${CPPFLAGS.${.IMPSRC:T}} \
            ${__acpp_flags} ${.IMPSRC} && \
            ${MV} ${.TARGET}.tmp ${.TARGET}
@@ -85,7 +85,7 @@
 .C.d .cc.d .cpp.d .cxx.d:
        ${_MKTARGET_CREATE}
        ${MKDEPCXX} -f ${.TARGET}.tmp ${_MKDEP_FILEFLAGS} -- ${MKDEPFLAGS} \
-           ${CXXFLAGS:M-std=*} ${CXXFLAGS:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*} \
+           ${CXXFLAGS:M-std=*} ${CXXFLAGS:C/-([IDUW])[  ]*/-\1/Wg:M-[IDUW]*} \
            ${CPPFLAGS:N-Wp,-iremap,*} ${COPTS.${.IMPSRC:T}} ${CPUFLAGS.${.IMPSRC:T}} \
            ${CPPFLAGS.${.IMPSRC:T}} ${.IMPSRC} && \
            ${MV} ${.TARGET}.tmp ${.TARGET}
diff -r 4ed786083e47 -r 77fb9c53e5cc share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk       Tue Dec 14 16:13:37 2021 +0000
+++ b/share/mk/bsd.sys.mk       Tue Dec 14 16:22:07 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.sys.mk,v 1.308 2021/11/01 10:05:19 nia Exp $
+#      $NetBSD: bsd.sys.mk,v 1.309 2021/12/14 16:22:07 christos Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -272,8 +272,8 @@
 .c.ln:
        ${_MKTARGET_COMPILE}
        ${LINT} ${LINTFLAGS} ${LINTFLAGS.${.IMPSRC:T}} \
-           ${CPPFLAGS:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*} \
-           ${CPPFLAGS.${.IMPSRC:T}:C/-([IDU])[  ]*/-\1/Wg:M-[IDU]*} \
+           ${CPPFLAGS:C/-([IDUW])[  ]*/-\1/Wg:M-[IDUW]*} \
+           ${CPPFLAGS.${.IMPSRC:T}:C/-([IDUW])[  ]*/-\1/Wg:M-[IDUW]*} \
            -i ${.IMPSRC}
 
 # C++
diff -r 4ed786083e47 -r 77fb9c53e5cc share/mk/sys.mk
--- a/share/mk/sys.mk   Tue Dec 14 16:13:37 2021 +0000
+++ b/share/mk/sys.mk   Tue Dec 14 16:22:07 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: sys.mk,v 1.147 2021/11/28 00:21:12 rillig Exp $
+#      $NetBSD: sys.mk,v 1.148 2021/12/14 16:22:07 christos Exp $
 #      @(#)sys.mk      8.2 (Berkeley) 3/21/94
 #
 # This file contains the basic rules for make(1) and is read first
@@ -139,7 +139,7 @@
        rm -f ${.PREFIX}.o
 .c.ln:
        ${LINT} ${LINTFLAGS} \
-           ${CPPFLAGS:C/-([IDU]) */-\1/Wg:M-[IDU]*} \
+           ${CPPFLAGS:C/-([IDUW]) */-\1/Wg:M-[IDUW]*} \
            -i ${.IMPSRC}
 
 # C++



Home | Main Index | Thread Index | Old Index