summaryrefslogtreecommitdiffstats
path: root/usr.bin/su/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-09-04 17:10:57 +0000
committermarkm <markm@FreeBSD.org>2001-09-04 17:10:57 +0000
commit8fd9133a9f24ed33e1dafa6af3994a9996df2f62 (patch)
tree54f289d174faad844dd23ed77be8f007a9d026a7 /usr.bin/su/Makefile
parent67ffe2e20325b02d34088606594673184dc10e50 (diff)
downloadFreeBSD-src-8fd9133a9f24ed33e1dafa6af3994a9996df2f62.zip
FreeBSD-src-8fd9133a9f24ed33e1dafa6af3994a9996df2f62.tar.gz
WARNS=2 fixes.
The remaining problem of converting highly incompatible pointer types is done by "laundering" the value through a union. This solves the problem (in my own mind) of how a "const char *" _ever_ actually gets a value in a WARNS=2 world.
Diffstat (limited to 'usr.bin/su/Makefile')
-rw-r--r--usr.bin/su/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index ccf6536..7d20843 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -6,9 +6,7 @@ PROG= su
DPADD+= ${LIBUTIL} ${LIBPAM}
LDADD+= -lutil ${MINUSLPAM}
-# Cannot be enabled because of a truly nasty warning/problem
-# concering execv(2)'s second argument.
-#WARNS?= 2
+WARNS?= 2
BINMODE=4555
INSTALLFLAGS=-fschg
OpenPOWER on IntegriCloud