summaryrefslogtreecommitdiff
path: root/usr/src/lib/auditd_plugins
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-07-22 16:03:46 -0400
committerRichard Lowe <richlowe@richlowe.net>2012-09-22 19:47:23 -0400
commit7014882c6a3672fd0e5d60200af8643ae53c5928 (patch)
tree2c46b144ad1c8047ab5b22280d7f3920fa47c453 /usr/src/lib/auditd_plugins
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-gate-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/lib/auditd_plugins')
-rw-r--r--usr/src/lib/auditd_plugins/binfile/Makefile.com4
-rw-r--r--usr/src/lib/auditd_plugins/syslog/Makefile.com5
2 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/lib/auditd_plugins/binfile/Makefile.com b/usr/src/lib/auditd_plugins/binfile/Makefile.com
index 96185b4af1..f3f74d02b1 100644
--- a/usr/src/lib/auditd_plugins/binfile/Makefile.com
+++ b/usr/src/lib/auditd_plugins/binfile/Makefile.com
@@ -22,8 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY= audit_binfile.a
VERS= .1
@@ -40,6 +38,8 @@ CFLAGS += $(CCVERBOSE)
CPPFLAGS += -D_REENTRANT -I$(LIBBSM)
CPPFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
+CERRWARN += -_gcc=-Wno-parentheses
+
ROOTLIBDIR= $(ROOT)/usr/lib/security
.KEEP_STATE:
diff --git a/usr/src/lib/auditd_plugins/syslog/Makefile.com b/usr/src/lib/auditd_plugins/syslog/Makefile.com
index 40ecbc25bd..0e1c95eed9 100644
--- a/usr/src/lib/auditd_plugins/syslog/Makefile.com
+++ b/usr/src/lib/auditd_plugins/syslog/Makefile.com
@@ -22,8 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY= audit_syslog.a
VERS= .1
@@ -49,6 +47,9 @@ CPPFLAGS += -D_REENTRANT
CPPFLAGS += -I$(PRAUDIT)
CPPFLAGS += -I$(LIBBSM)
+CERRWARN += -_gcc=-Wno-char-subscripts
+CERRWARN += -_gcc=-Wno-uninitialized
+
ROOTLIBDIR= $(ROOT)/usr/lib/security
.KEEP_STATE: