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/ctf | |
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/ctf')
-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 |
3 files changed, 3 insertions, 3 deletions
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: |