summaryrefslogtreecommitdiff
path: root/usr/src/ucblib
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2019-08-07 12:09:20 -0700
committerJohn Levon <john.levon@joyent.com>2019-08-16 01:57:38 -0700
commitd3b5f56344d8bfcdd6cfb82446af0e5e55ad9ebe (patch)
tree8e10c8af012b9fd1ff07c66edc3bfcf328897cf1 /usr/src/ucblib
parentc4ccc1f9004b70b07e4cdb57641c38ab607306c9 (diff)
downloadillumos-gate-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/ucblib')
-rw-r--r--usr/src/ucblib/libcurses/Makefile.com2
-rw-r--r--usr/src/ucblib/libdbm/Makefile.com2
-rw-r--r--usr/src/ucblib/librpcsoc/Makefile.com2
-rw-r--r--usr/src/ucblib/libucb/Makefile.com2
4 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/ucblib/libcurses/Makefile.com b/usr/src/ucblib/libcurses/Makefile.com
index 3e018e1cfa..3e2b27dfc8 100644
--- a/usr/src/ucblib/libcurses/Makefile.com
+++ b/usr/src/ucblib/libcurses/Makefile.com
@@ -88,7 +88,7 @@ CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
-CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += $(CNOWARN_UNINIT)
# not linted
SMATCH=off
diff --git a/usr/src/ucblib/libdbm/Makefile.com b/usr/src/ucblib/libdbm/Makefile.com
index e3d5c9e10a..385526055b 100644
--- a/usr/src/ucblib/libdbm/Makefile.com
+++ b/usr/src/ucblib/libdbm/Makefile.com
@@ -41,7 +41,7 @@ LDLIBS += -lc
CPPFLAGS = -I$(SRC)/ucbhead $(CPPFLAGS.master)
-CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += $(CNOWARN_UNINIT)
.KEEP_STATE:
diff --git a/usr/src/ucblib/librpcsoc/Makefile.com b/usr/src/ucblib/librpcsoc/Makefile.com
index a99827f813..173b6730ba 100644
--- a/usr/src/ucblib/librpcsoc/Makefile.com
+++ b/usr/src/ucblib/librpcsoc/Makefile.com
@@ -50,7 +50,7 @@ ROOTLIBDIR64= $(ROOT)/usr/ucblib/$(MACH64)
CPPFLAGS = -I$(SRC)/ucbhead -I../../../lib/libc/inc $(CPPFLAGS.master)
-CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += $(CNOWARN_UNINIT)
# not linted
SMATCH=off
diff --git a/usr/src/ucblib/libucb/Makefile.com b/usr/src/ucblib/libucb/Makefile.com
index 94c24fe097..304a385512 100644
--- a/usr/src/ucblib/libucb/Makefile.com
+++ b/usr/src/ucblib/libucb/Makefile.com
@@ -21,7 +21,7 @@
#
# Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
#
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2019 Joyent, Inc.
# Copyright 2019 Peter Tribble.
#