diff --git a/bin/chflags/Makefile b/bin/chflags/Makefile index df1a7dc0aee9..3493b9829837 100644 --- a/bin/chflags/Makefile +++ b/bin/chflags/Makefile @@ -7,5 +7,5 @@ NOSHARED?=yes PROG= chflags SRCS= chflags.c -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile index 303657698330..9661513d74bb 100644 --- a/bin/chmod/Makefile +++ b/bin/chmod/Makefile @@ -3,6 +3,6 @@ PROG= chmod -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/df/Makefile b/bin/df/Makefile index c05e02771aa8..264d99f2cb13 100644 --- a/bin/df/Makefile +++ b/bin/df/Makefile @@ -11,6 +11,6 @@ CFLAGS+= -I${MOUNT} DPADD= ${LIBM} LDADD= -lm -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/domainname/Makefile b/bin/domainname/Makefile index 2c7669cfeca6..958c490f1597 100644 --- a/bin/domainname/Makefile +++ b/bin/domainname/Makefile @@ -2,6 +2,6 @@ PROG= domainname -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/echo/Makefile b/bin/echo/Makefile index b62bd423041c..236a937ea799 100644 --- a/bin/echo/Makefile +++ b/bin/echo/Makefile @@ -3,6 +3,6 @@ PROG= echo -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/hostname/Makefile b/bin/hostname/Makefile index 5503b351dbcd..3053b90408b3 100644 --- a/bin/hostname/Makefile +++ b/bin/hostname/Makefile @@ -3,6 +3,6 @@ PROG= hostname -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/kill/Makefile b/bin/kill/Makefile index c05caf67b6cf..033fdaa66162 100644 --- a/bin/kill/Makefile +++ b/bin/kill/Makefile @@ -3,6 +3,6 @@ PROG= kill -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/ln/Makefile b/bin/ln/Makefile index 1ccd02cdb4e2..90a37d3057f4 100644 --- a/bin/ln/Makefile +++ b/bin/ln/Makefile @@ -7,6 +7,6 @@ MAN= ln.1 symlink.7 LINKS= ${BINDIR}/ln ${BINDIR}/link MLINKS= ln.1 link.1 -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/pwd/Makefile b/bin/pwd/Makefile index 4d070983477d..718cd4620f81 100644 --- a/bin/pwd/Makefile +++ b/bin/pwd/Makefile @@ -5,6 +5,6 @@ PROG= pwd LINKS= ${BINDIR}/pwd ${BINDIR}/realpath MAN= pwd.1 realpath.1 -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/rmdir/Makefile b/bin/rmdir/Makefile index fe1b7d97871f..23df216e380e 100644 --- a/bin/rmdir/Makefile +++ b/bin/rmdir/Makefile @@ -3,6 +3,6 @@ PROG= rmdir -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/setfacl/Makefile b/bin/setfacl/Makefile index 5ac45adaf1be..9823b55dccb2 100644 --- a/bin/setfacl/Makefile +++ b/bin/setfacl/Makefile @@ -3,6 +3,6 @@ PROG= setfacl SRCS= file.c mask.c merge.c remove.c setfacl.c util.c -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/sleep/Makefile b/bin/sleep/Makefile index 5746c0e849bf..2b092c36d12d 100644 --- a/bin/sleep/Makefile +++ b/bin/sleep/Makefile @@ -3,6 +3,6 @@ PROG= sleep -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/stty/Makefile b/bin/stty/Makefile index 645686dc5001..349dd81536ab 100644 --- a/bin/stty/Makefile +++ b/bin/stty/Makefile @@ -4,6 +4,6 @@ PROG= stty SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/sync/Makefile b/bin/sync/Makefile index 15f7abec64ea..ac74c735ea22 100644 --- a/bin/sync/Makefile +++ b/bin/sync/Makefile @@ -4,6 +4,6 @@ PROG= sync MAN= sync.8 -WARNS= 2 +WARNS?= 2 .include diff --git a/bin/test/Makefile b/bin/test/Makefile index 42be7b232784..2a9c4d776ab6 100644 --- a/bin/test/Makefile +++ b/bin/test/Makefile @@ -5,6 +5,6 @@ PROG= test LINKS= ${BINDIR}/test ${BINDIR}/[ MLINKS= test.1 '[.1' -WARNS= 2 +WARNS?= 2 .include diff --git a/games/adventure/Makefile b/games/adventure/Makefile index b98ceedb47eb..b5a1b723634e 100644 --- a/games/adventure/Makefile +++ b/games/adventure/Makefile @@ -7,7 +7,7 @@ MAN= adventure.6 HIDEGAME=hidegame CLEANFILES=data.c setup setup.o -WARNS= 2 +WARNS?= 2 build-tools: setup diff --git a/games/caesar/Makefile b/games/caesar/Makefile index 782b87fe409c..68a37ddf4170 100644 --- a/games/caesar/Makefile +++ b/games/caesar/Makefile @@ -8,6 +8,6 @@ SCRIPTS=rot13.sh MAN= caesar.6 MLINKS= caesar.6 rot13.6 -WARNS= 2 +WARNS?= 2 .include diff --git a/games/pom/Makefile b/games/pom/Makefile index e139ce9a14a4..0831496813b7 100644 --- a/games/pom/Makefile +++ b/games/pom/Makefile @@ -6,6 +6,6 @@ MAN= pom.6 DPADD= ${LIBM} LDADD= -lm -WARNS= 2 +WARNS?= 2 .include diff --git a/sbin/md5/Makefile b/sbin/md5/Makefile index c2a1fd459bf5..938141e972c1 100644 --- a/sbin/md5/Makefile +++ b/sbin/md5/Makefile @@ -6,6 +6,6 @@ PROG= md5 LDADD+= -lmd DPADD+= ${LIBMD} -WARNS= 2 +WARNS?= 2 .include diff --git a/usr.bin/apply/Makefile b/usr.bin/apply/Makefile index d97f5bd62a3e..48871b959aa6 100644 --- a/usr.bin/apply/Makefile +++ b/usr.bin/apply/Makefile @@ -3,6 +3,6 @@ PROG= apply -WARNS= 2 +WARNS?= 2 .include diff --git a/usr.bin/banner/Makefile b/usr.bin/banner/Makefile index a6b264dca0c6..a64d8eeb9928 100644 --- a/usr.bin/banner/Makefile +++ b/usr.bin/banner/Makefile @@ -4,6 +4,6 @@ PROG= banner MAN= banner.6 -WARNS= 2 +WARNS?= 2 .include diff --git a/usr.bin/chflags/Makefile b/usr.bin/chflags/Makefile index df1a7dc0aee9..3493b9829837 100644 --- a/usr.bin/chflags/Makefile +++ b/usr.bin/chflags/Makefile @@ -7,5 +7,5 @@ NOSHARED?=yes PROG= chflags SRCS= chflags.c -WARNS= 2 +WARNS?= 2 .include diff --git a/usr.bin/fmt/Makefile b/usr.bin/fmt/Makefile index c635cb6f43a3..385ecdeb3c2c 100644 --- a/usr.bin/fmt/Makefile +++ b/usr.bin/fmt/Makefile @@ -4,6 +4,6 @@ PROG= fmt SRCS= fmt.c -WARNS= 2 +WARNS?= 2 .include