From d448d07d82c64e63883ca7a9f6be6082ddbbc633 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Mon, 22 Jan 2018 18:47:48 +0100 Subject: [PATCH] gnu/sbin: Raise WARNS generally to 1 via Makefile.inc. --- gnu/sbin/Makefile.inc | 2 +- gnu/sbin/dmsetup/Makefile | 2 -- gnu/sbin/lvm/Makefile | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gnu/sbin/Makefile.inc b/gnu/sbin/Makefile.inc index 09d2e45b51..0784a483dc 100644 --- a/gnu/sbin/Makefile.inc +++ b/gnu/sbin/Makefile.inc @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/usr.bin/Makefile.inc,v 1.4 1999/08/27 23:34:09 peter Exp $ -# $DragonFly: src/gnu/usr.bin/Makefile.inc,v 1.2 2003/06/17 04:25:44 dillon Exp $ BINDIR?= /sbin NOSHARED?= yes +WARNS?= 1 diff --git a/gnu/sbin/dmsetup/Makefile b/gnu/sbin/dmsetup/Makefile index b855888114..b456a986f0 100644 --- a/gnu/sbin/dmsetup/Makefile +++ b/gnu/sbin/dmsetup/Makefile @@ -11,8 +11,6 @@ PROG= dmsetup MAN= dmsetup.8 -WARNS?= 1 - CFLAGS+= -I${LIBDM_DISTDIR}/ -I${LIBDM_DISTDIR}/misc \ -I. -I${LIBDM_DISTDIR}/ioctl -I${LVM2_DISTDIR}/include diff --git a/gnu/sbin/lvm/Makefile b/gnu/sbin/lvm/Makefile index d081f299fe..f946e80c0e 100644 --- a/gnu/sbin/lvm/Makefile +++ b/gnu/sbin/lvm/Makefile @@ -20,8 +20,6 @@ SRCS= dumpconfig.c formats.c lvchange.c lvconvert.c lvcreate.c \ vgmknodes.c vgreduce.c vgremove.c vgrename.c vgscan.c \ vgsplit.c lvm.c -WARNS?= 1 - CFLAGS+= -I${LVM2_DISTDIR}/lib -I${LVM2_DISTDIR}/include \ -I. -I${LVM2_DISTDIR}/tools \ -I${LIBDM_DISTDIR} -- 2.11.4.GIT