libc: Bring back warnings to libc.
authorSascha Wildner <saw@online.de>
Fri, 29 Mar 2013 13:11:13 +0000 (14:11 +0100)
committerSascha Wildner <saw@online.de>
Sat, 30 Mar 2013 11:35:27 +0000 (12:35 +0100)
commitb2ea2a51a6b802bbad74d60b9e29d01455cf02ae
treec8121cee00d90a46630537d222f0cdfb75defe4c
parent45587072295bf2c672f5c284d045f504660b28ab
libc: Bring back warnings to libc.

To disable warnings for the gdtoa sources only, the tweaking of the
CWARNFLAGS has to come _after_ <bsd.lib.mk> is included.

Therefore, it has to be done in libc's Makefile instead of its
Makefile.inc.

Before this commit warnings were completely disabled for libc due
to '-w' passed to every command line.

Also reset WARNS back to 0 since right now, libc doesn't even pass
WARNS=1.
lib/libc/Makefile
lib/libc/Makefile.inc