summaryrefslogtreecommitdiffstats
path: root/lib/libpam
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-03-02 18:44:08 +0000
committeruqs <uqs@FreeBSD.org>2010-03-02 18:44:08 +0000
commit4a10ff6f0485601e757edf83113cfe6362ccf96e (patch)
treeb4ad29ee41b5c24565c10654e789756458c2edd7 /lib/libpam
parent309aced7db2843932de0bbe9b6e0a66948f1c9a0 (diff)
downloadFreeBSD-src-4a10ff6f0485601e757edf83113cfe6362ccf96e.zip
FreeBSD-src-4a10ff6f0485601e757edf83113cfe6362ccf96e.tar.gz
Remove redundant WARNS?=6 overrides and inherit the WARNS setting from
the toplevel directory. This does not change any WARNS level and survives a make universe. Approved by: ed (co-mentor)
Diffstat (limited to 'lib/libpam')
-rw-r--r--lib/libpam/Makefile.inc2
-rw-r--r--lib/libpam/modules/Makefile.inc1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpam/Makefile.inc b/lib/libpam/Makefile.inc
index 1fe2f12..1c1e513 100644
--- a/lib/libpam/Makefile.inc
+++ b/lib/libpam/Makefile.inc
@@ -30,3 +30,5 @@ DEBUG_FLAGS+= -DDEBUG
SHLIB_MAJOR= 5
PAM_MOD_DIR= ${LIBDIR}
+
+.include "../Makefile.inc"
diff --git a/lib/libpam/modules/Makefile.inc b/lib/libpam/modules/Makefile.inc
index c352f42..feb5da0 100644
--- a/lib/libpam/modules/Makefile.inc
+++ b/lib/libpam/modules/Makefile.inc
@@ -6,7 +6,6 @@ NO_INSTALLLIB=
NO_PROFILE=
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
-WARNS?= 6
# This is nasty.
# For the static case, libpam.a depends on the modules.
OpenPOWER on IntegriCloud