summaryrefslogtreecommitdiffstats
path: root/usr.bin/login
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2001-12-01 19:48:59 +0000
committerbde <bde@FreeBSD.org>2001-12-01 19:48:59 +0000
commit13c461f20052ccc43dfa4ced9bb3a2e31bf206c3 (patch)
tree1635023fe8166aeffa10a1db3db1d26ce239c501 /usr.bin/login
parent80b90bdc9665f05c048ceb1ddd7a57a0d0eb963e (diff)
downloadFreeBSD-src-13c461f20052ccc43dfa4ced9bb3a2e31bf206c3.zip
FreeBSD-src-13c461f20052ccc43dfa4ced9bb3a2e31bf206c3.tar.gz
Work around world breakage in previous commit. The bug is in
<security/pam_misc.h>. It declares a function parameter named 'send', so nothing that includes both <unistd.h> (which declares send(2)) and <security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is set. Fixed order of WARNS.
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index 4a27706..536af85 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -6,12 +6,12 @@ SRCS= login.c login_access.c login_fbtab.c
MAN= login.1 login.access.5
CFLAGS+=-DLOGIN_ACCESS -DLOGALL
+WARNS?= 2
+NO_WERROR=
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt ${MINUSLPAM}
-WARNS?= 2
-
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
OpenPOWER on IntegriCloud