summaryrefslogtreecommitdiff
path: root/usr/src/lib/pam_modules
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/pam_modules
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-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/lib/pam_modules')
-rw-r--r--usr/src/lib/pam_modules/authtok_check/Makefile.com5
-rw-r--r--usr/src/lib/pam_modules/dhkeys/Makefile.com2
-rw-r--r--usr/src/lib/pam_modules/krb5/Makefile.com3
-rw-r--r--usr/src/lib/pam_modules/krb5_migrate/Makefile.com3
-rw-r--r--usr/src/lib/pam_modules/ldap/Makefile.com3
-rw-r--r--usr/src/lib/pam_modules/unix_account/Makefile.com5
-rw-r--r--usr/src/lib/pam_modules/unix_cred/Makefile.com6
7 files changed, 12 insertions, 15 deletions
diff --git a/usr/src/lib/pam_modules/authtok_check/Makefile.com b/usr/src/lib/pam_modules/authtok_check/Makefile.com
index 29b29c2372..79332c6e90 100644
--- a/usr/src/lib/pam_modules/authtok_check/Makefile.com
+++ b/usr/src/lib/pam_modules/authtok_check/Makefile.com
@@ -22,10 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/pam_modules/authtok_check/Makefile.com
-#
LIBRARY= pam_authtok_check.a
VERS= .1
@@ -37,6 +33,7 @@ include ../../Makefile.pam_modules
LDLIBS += -lpam -lc
CPPFLAGS += -D_FILE_OFFSET_BITS=64
+CERRWARN += -_gcc=-Wno-parentheses
all: $(LIBS)
diff --git a/usr/src/lib/pam_modules/dhkeys/Makefile.com b/usr/src/lib/pam_modules/dhkeys/Makefile.com
index f430c3285c..c5a0391025 100644
--- a/usr/src/lib/pam_modules/dhkeys/Makefile.com
+++ b/usr/src/lib/pam_modules/dhkeys/Makefile.com
@@ -25,7 +25,6 @@
#
# usr/src/lib/pam_modules/dhkeys/Makefile.com
#
-# ident "%Z%%M% %I% %E% SMI"
LIBRARY= pam_dhkeys.a
VERS= .1
@@ -36,6 +35,7 @@ include ../../Makefile.pam_modules
LDLIBS += -lpam -lnsl -lc
CPPFLAGS += -I$(SRC)/lib/libnsl/include
+CERRWARN += -_gcc=-Wno-parentheses
all: $(LIBS)
diff --git a/usr/src/lib/pam_modules/krb5/Makefile.com b/usr/src/lib/pam_modules/krb5/Makefile.com
index b4e93ccbfd..222f064fad 100644
--- a/usr/src/lib/pam_modules/krb5/Makefile.com
+++ b/usr/src/lib/pam_modules/krb5/Makefile.com
@@ -48,6 +48,9 @@ CPPFLAGS += -I../../../gss_mechs/mech_krb5/include \
-I$(SRC)/lib/krb5 \
-I.
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-function
+
# module needs to be unloadable because the key destructor might be
# called after dlclose()
DYNFLAGS += $(ZNODELETE)
diff --git a/usr/src/lib/pam_modules/krb5_migrate/Makefile.com b/usr/src/lib/pam_modules/krb5_migrate/Makefile.com
index 6871d9f713..498b00f83b 100644
--- a/usr/src/lib/pam_modules/krb5_migrate/Makefile.com
+++ b/usr/src/lib/pam_modules/krb5_migrate/Makefile.com
@@ -38,6 +38,9 @@ CPPFLAGS += -I../../../gss_mechs/mech_krb5/include \
-I$(SRC)/lib/gss_mechs/mech_krb5 \
-I$(SRC)/lib/krb5
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-unused-function
+
LDLIBS += -lpam -lc
all: $(LIBS)
diff --git a/usr/src/lib/pam_modules/ldap/Makefile.com b/usr/src/lib/pam_modules/ldap/Makefile.com
index a0251f7355..8166a466b1 100644
--- a/usr/src/lib/pam_modules/ldap/Makefile.com
+++ b/usr/src/lib/pam_modules/ldap/Makefile.com
@@ -24,8 +24,6 @@
#
# usr/src/lib/pam_modules/ldap/Makefile.com
#
-#ident "%Z%%M% %I% %E% SMI"
-#
LIBRARY= pam_ldap.a
VERS= .1
@@ -42,6 +40,7 @@ include ../../Makefile.pam_modules
LDLIBS += -lpam -lsldap -lc
CPPFLAGS += -I$(SRC)/lib/libsldap/common
+CERRWARN += -_gcc=-Wno-parentheses
all: $(LIBS)
diff --git a/usr/src/lib/pam_modules/unix_account/Makefile.com b/usr/src/lib/pam_modules/unix_account/Makefile.com
index bc1af34425..9971e8b296 100644
--- a/usr/src/lib/pam_modules/unix_account/Makefile.com
+++ b/usr/src/lib/pam_modules/unix_account/Makefile.com
@@ -22,10 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/pam_modules/unix_account/Makefile.com
-#
LIBRARY= pam_unix_account.a
VERS= .1
@@ -36,6 +32,7 @@ include ../../Makefile.pam_modules
LDLIBS += -lpam -lc
# Enable large file support for reading the lastlog file.
CPPFLAGS += -D_FILE_OFFSET_BITS=64
+CERRWARN += -_gcc=-Wno-parentheses
all: $(LIBS)
diff --git a/usr/src/lib/pam_modules/unix_cred/Makefile.com b/usr/src/lib/pam_modules/unix_cred/Makefile.com
index b5de4963b7..45c444f9b2 100644
--- a/usr/src/lib/pam_modules/unix_cred/Makefile.com
+++ b/usr/src/lib/pam_modules/unix_cred/Makefile.com
@@ -22,10 +22,6 @@
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# usr/src/lib/pam_modules/unix_cred/Makefile.com
-#
LIBRARY= pam_unix_cred.a
VERS= .1
@@ -34,6 +30,8 @@ OBJECTS= unix_cred.o
include ../../Makefile.pam_modules
LDLIBS += -lbsm -lpam -lsecdb -lproject -lc
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
all: $(LIBS)