librt: Use WARNS in Makefile instead of tweaking CFLAGS.
authorStathis Kamperis <beket@dragonflybsd.org>
Sun, 11 Oct 2009 22:27:34 +0000 (01:27 +0300)
committerStathis Kamperis <beket@dragonflybsd.org>
Sun, 11 Oct 2009 22:27:38 +0000 (01:27 +0300)
Tested with i386 and amd64.

Noticed-by: swildner@
lib/librt/Makefile

index c86b994..90dde30 100644 (file)
@@ -1,6 +1,6 @@
 LIB=rt
 SHLIB_MAJOR=0
-CFLAGS+=-Winline -Wall -g
+WARNS?=2
 
 SRCS+= mq.c