From 6794a0c94c02f369cd6f584eb7b6520a1622acd0 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 20 Oct 2018 21:33:34 +0000 Subject: [PATCH] Bring back the WARNS level to what it used to be to please gcc arches at least --- gnu/lib/libdialog/Makefile | 2 +- gnu/usr.bin/dialog/Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile index 67d725657c2f82..69d8dbd3fdb866 100644 --- a/gnu/lib/libdialog/Makefile +++ b/gnu/lib/libdialog/Makefile @@ -17,6 +17,6 @@ LIBADD= ncursesw m CFLAGS+= -I${.CURDIR} -I${DIALOG} -D_XOPEN_SOURCE_EXTENDED -DGCC_UNUSED=__unused .PATH: ${DIALOG} -WARNS?= 4 +WARNS?= 1 .include diff --git a/gnu/usr.bin/dialog/Makefile b/gnu/usr.bin/dialog/Makefile index 71496f77483007..6e8ebe5f9a533f 100644 --- a/gnu/usr.bin/dialog/Makefile +++ b/gnu/usr.bin/dialog/Makefile @@ -7,4 +7,6 @@ LIBADD= dialog ncursesw m CFLAGS+= -I${.CURDIR} -I${DIALOG} .PATH: ${DIALOG} +WARNS?= 6 + .include