From 85a8e82c65809b85d5851a8b7eabf8e16dbf272e Mon Sep 17 00:00:00 2001 From: "Christiano F. Haesbaert" Date: Wed, 12 Sep 2012 09:19:55 +0000 Subject: Define empty CDIAGFLAGS for programs that use Werror. Makes "make build" build with WARNINGS=Yes on amd64. ok espie --- sbin/ldattach/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin') diff --git a/sbin/ldattach/Makefile b/sbin/ldattach/Makefile index 0b1225111df..5a2011e43c4 100644 --- a/sbin/ldattach/Makefile +++ b/sbin/ldattach/Makefile @@ -1,10 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2008/06/09 21:06:10 mbalmer Exp $ +# $OpenBSD: Makefile,v 1.3 2012/09/12 09:19:54 haesbaert Exp $ PROG= ldattach SRCS= ldattach.c atomicio.c MAN= ldattach.8 CFLAGS+= -Wall -Werror +CDIAGFLAGS= LDADD+= -lutil BINDIR= /sbin -- cgit v1.2.3