diff options
| author | John Levon <john.levon@joyent.com> | 2019-08-07 12:09:20 -0700 |
|---|---|---|
| committer | John Levon <john.levon@joyent.com> | 2019-08-16 01:57:38 -0700 |
| commit | d3b5f56344d8bfcdd6cfb82446af0e5e55ad9ebe (patch) | |
| tree | 8e10c8af012b9fd1ff07c66edc3bfcf328897cf1 /usr/src/tools | |
| parent | c4ccc1f9004b70b07e4cdb57641c38ab607306c9 (diff) | |
| download | illumos-joyent-d3b5f56344d8bfcdd6cfb82446af0e5e55ad9ebe.tar.gz | |
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/tools')
| -rw-r--r-- | usr/src/tools/aw/Makefile | 2 | ||||
| -rw-r--r-- | usr/src/tools/cscope-fast/Makefile | 2 | ||||
| -rw-r--r-- | usr/src/tools/ctf/ctfmerge/Makefile.com | 2 | ||||
| -rw-r--r-- | usr/src/tools/ctf/cvt/Makefile.com | 2 | ||||
| -rw-r--r-- | usr/src/tools/ctf/stabs/Makefile.com | 2 | ||||
| -rw-r--r-- | usr/src/tools/ndrgen/Makefile | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/usr/src/tools/aw/Makefile b/usr/src/tools/aw/Makefile index 746cdbcbe2..4944efcaf6 100644 --- a/usr/src/tools/aw/Makefile +++ b/usr/src/tools/aw/Makefile @@ -30,7 +30,7 @@ PROG = aw include ../Makefile.tools CFLAGS += $(CCVERBOSE) -CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += $(CNOWARN_UNINIT) # not linted SMATCH=off diff --git a/usr/src/tools/cscope-fast/Makefile b/usr/src/tools/cscope-fast/Makefile index 513534747f..1cf70de8f4 100644 --- a/usr/src/tools/cscope-fast/Makefile +++ b/usr/src/tools/cscope-fast/Makefile @@ -49,7 +49,7 @@ CFLAGS += -DPATLEN=$(PATLEN) -DSTMTMAX=$(STMTMAX) -DYYLMAX=$(YYLMAX) CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-implicit-function-declaration CERRWARN += -_gcc=-Wno-unused -CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += $(CNOWARN_UNINIT) # not linted SMATCH=off diff --git a/usr/src/tools/ctf/ctfmerge/Makefile.com b/usr/src/tools/ctf/ctfmerge/Makefile.com index 2702fa9d13..a073007cb4 100644 --- a/usr/src/tools/ctf/ctfmerge/Makefile.com +++ b/usr/src/tools/ctf/ctfmerge/Makefile.com @@ -23,7 +23,7 @@ LDFLAGS += \ CPPFLAGS += -include ../../common/ctf_headers.h CERRWARN += -_gcc=-Wno-unused-variable -CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += $(CNOWARN_UNINIT) OBJS = $(SRCS:%.c=%.o) diff --git a/usr/src/tools/ctf/cvt/Makefile.com b/usr/src/tools/ctf/cvt/Makefile.com index 052cf02cc4..1771505c9e 100644 --- a/usr/src/tools/ctf/cvt/Makefile.com +++ b/usr/src/tools/ctf/cvt/Makefile.com @@ -81,7 +81,7 @@ CFLAGS += $(CTF_FLAGS) LINTFLAGS += -mnux CERRWARN += -_gcc=-Wno-unused -CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-switch CSTD = $(CSTD_GNU99) diff --git a/usr/src/tools/ctf/stabs/Makefile.com b/usr/src/tools/ctf/stabs/Makefile.com index 6703c34f06..97d9cddb77 100644 --- a/usr/src/tools/ctf/stabs/Makefile.com +++ b/usr/src/tools/ctf/stabs/Makefile.com @@ -44,7 +44,7 @@ OBJS = $(SRCS:%.c=%.o) LINTFILES = $(SRCS:%.c=%.ln) LINTFLAGS = -mnux -L$(ROOT)/usr/lib -CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused .NO_PARALLEL: diff --git a/usr/src/tools/ndrgen/Makefile b/usr/src/tools/ndrgen/Makefile index 49d57e237a..22fe8f87e8 100644 --- a/usr/src/tools/ndrgen/Makefile +++ b/usr/src/tools/ndrgen/Makefile @@ -34,7 +34,7 @@ SRCS= $(OBJS:%.o=%.c) include ../Makefile.tools CFLAGS += $(CCVERBOSE) -CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += $(CNOWARN_UNINIT) CERRWARN += -_gcc=-Wno-unused CLEANFILES += $(OBJS) y.tab.c y.tab.h |
