mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
Different compilers and versions of compilers have different warnings.
Remove -Werror to give code a greater chance of building. ok deraadt@ florian@
This commit is contained in:
parent
a3b51c52ac
commit
272d89adac
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2012/09/12 09:19:54 haesbaert Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2017/04/16 10:16:35 jsg Exp $
|
||||
|
||||
PROG= ldattach
|
||||
SRCS= ldattach.c atomicio.c
|
||||
MAN= ldattach.8
|
||||
|
||||
CFLAGS+= -Wall -Werror
|
||||
CFLAGS+= -Wall
|
||||
CDIAGFLAGS=
|
||||
LDADD+= -lutil
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1 2014/03/17 12:49:13 florian Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2017/04/16 10:16:35 jsg Exp $
|
||||
PROG= htpasswd
|
||||
SRCS= htpasswd.c
|
||||
MAN= htpasswd.1
|
||||
|
||||
CFLAGS+= -g -W -Wall -Werror
|
||||
CFLAGS+= -g -W -Wall
|
||||
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
|
||||
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2012/09/12 09:19:54 haesbaert Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2017/04/16 10:16:35 jsg Exp $
|
||||
|
||||
MAN=pctr.1
|
||||
|
||||
CFLAGS+=-W -Wall -Werror
|
||||
CFLAGS+=-W -Wall
|
||||
CDIAGFLAGS=
|
||||
|
||||
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386"
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2016/02/01 19:08:33 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2017/04/16 10:16:35 jsg Exp $
|
||||
|
||||
PROG= identd
|
||||
LDADD= -levent
|
||||
DPADD= ${LIBEVENT}
|
||||
CFLAGS+= -Wall -Werror
|
||||
CFLAGS+= -Wall
|
||||
|
||||
MAN= identd.8
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2014/07/16 20:07:03 okan Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2017/04/16 10:16:35 jsg Exp $
|
||||
|
||||
.if ${MACHINE} == "sparc64"
|
||||
|
||||
PROG= mksuncd
|
||||
CFLAGS+=-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
CFLAGS+=-Wall -Wstrict-prototypes -Wmissing-prototypes
|
||||
CDIAGFLAGS=
|
||||
|
||||
.else
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2012/09/12 09:19:54 haesbaert Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2017/04/16 10:16:35 jsg Exp $
|
||||
|
||||
PROG= tftp-proxy
|
||||
SRCS= tftp-proxy.c filter.c
|
||||
@ -6,7 +6,7 @@ MAN= tftp-proxy.8
|
||||
LDADD= -levent
|
||||
DPADD= ${LIBEVENT}
|
||||
|
||||
CFLAGS+=-Wall -Werror
|
||||
CFLAGS+=-Wall
|
||||
CDIAGFLAGS=
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2012/09/12 09:19:54 haesbaert Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2017/04/16 10:16:35 jsg Exp $
|
||||
|
||||
PROG= tftpd
|
||||
SRCS= tftpd.c
|
||||
LDADD= -levent
|
||||
DPADD= ${LIBEVENT}
|
||||
CFLAGS+= -Wall -Werror
|
||||
CFLAGS+= -Wall
|
||||
CDIAGFLAGS=
|
||||
|
||||
MAN= tftpd.8
|
||||
|
Loading…
Reference in New Issue
Block a user