diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2012-07-22 16:03:46 -0400 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2012-09-22 19:47:23 -0400 |
| commit | 7014882c6a3672fd0e5d60200af8643ae53c5928 (patch) | |
| tree | 2c46b144ad1c8047ab5b22280d7f3920fa47c453 /usr/src/cmd/zonestat | |
| parent | 1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff) | |
| download | illumos-joyent-7014882c6a3672fd0e5d60200af8643ae53c5928.tar.gz | |
2933 compiler warning gags need better granularity
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/zonestat')
| -rw-r--r-- | usr/src/cmd/zonestat/zonestat/Makefile | 6 | ||||
| -rw-r--r-- | usr/src/cmd/zonestat/zonestatd/Makefile | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/usr/src/cmd/zonestat/zonestat/Makefile b/usr/src/cmd/zonestat/zonestat/Makefile index 2f4681b1ed..1caf1a8218 100644 --- a/usr/src/cmd/zonestat/zonestat/Makefile +++ b/usr/src/cmd/zonestat/zonestat/Makefile @@ -28,8 +28,10 @@ OBJS = $(SRCS:%.c=%.o) include ../../Makefile.cmd -LDLIBS += -lscf -lzonestat -lumem -LINTFLAGS += -u +LDLIBS += -lscf -lzonestat -lumem +LINTFLAGS += -u + +CERRWARN += -_gcc=-Wno-uninitialized .KEEP_STATE: diff --git a/usr/src/cmd/zonestat/zonestatd/Makefile b/usr/src/cmd/zonestat/zonestatd/Makefile index c5b574f0a4..656ba2e95b 100644 --- a/usr/src/cmd/zonestat/zonestatd/Makefile +++ b/usr/src/cmd/zonestat/zonestatd/Makefile @@ -33,13 +33,16 @@ ROOTMANIFESTDIR = $(ROOTSVCSYSTEM) SRCS = zonestatd.c -CPPFLAGS += -I/usr/include/libxml2 -LDLIBS += -lkstat -lpool -lexacct -lscf \ - -lcontract -lcmdutils -lumem +CPPFLAGS += -I/usr/include/libxml2 +LDLIBS += -lkstat -lpool -lexacct -lscf \ + -lcontract -lcmdutils -lumem -LINTFLAGS += -u +LINTFLAGS += -u +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-unused-label +CERRWARN += -_gcc=-Wno-uninitialized -OBJS = $(SRCS:%.c=%.o) +OBJS = $(SRCS:%.c=%.o) .KEEP_STATE: |
