summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-04-02 02:42:33 +0000
committerray <ray@openbsd.org>2006-04-02 02:42:33 +0000
commit175933a25e3e97c62fd4de04db432466301781b4 (patch)
treeeb78142aefa728e33c7aebc0ea776d2ae52bcabf
parentgetting to the bottom of the issues. sprinkle a few casts that will (diff)
downloadwireguard-openbsd-175933a25e3e97c62fd4de04db432466301781b4.tar.xz
wireguard-openbsd-175933a25e3e97c62fd4de04db432466301781b4.zip
Enable DEBUG=-g -ggdb for rcs, move -g -ggdb out of CFLAGS for cvs.
Line up flags while I'm at it. OK to add DEBUG flags to rcs niallo@.
-rw-r--r--usr.bin/cvs/Makefile14
-rw-r--r--usr.bin/rcs/Makefile13
2 files changed, 14 insertions, 13 deletions
diff --git a/usr.bin/cvs/Makefile b/usr.bin/cvs/Makefile
index 38b03a61b95..a73a94353bd 100644
--- a/usr.bin/cvs/Makefile
+++ b/usr.bin/cvs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.20 2006/03/09 10:56:33 xsa Exp $
+# $OpenBSD: Makefile,v 1.21 2006/04/02 02:42:33 ray Exp $
PROG= cvs
MAN= cvs.1 cvsignore.5 cvsrc.5 cvswrappers.5 cvsintro.7
@@ -11,12 +11,12 @@ SRCS= cvs.c add.c admin.c annotate.c buf.c checkout.c cmd.c commit.c \
server.c status.c tag.c update.c util.c version.c watch.c \
worklist.c xmalloc.c
-CFLAGS= -g -ggdb
-CFLAGS+= -Wall
-CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations
-CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
-CFLAGS+= -Wsign-compare
+CFLAGS+=-Wall
+CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-Wmissing-declarations
+CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+=-Wsign-compare
+DEBUG= -g -ggdb
YFLAGS=
DPADD+= ${LIBZ}
diff --git a/usr.bin/rcs/Makefile b/usr.bin/rcs/Makefile
index 4b773ee1cf7..e4ec2df4151 100644
--- a/usr.bin/rcs/Makefile
+++ b/usr.bin/rcs/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2006/03/09 14:31:34 xsa Exp $
+# $OpenBSD: Makefile,v 1.30 2006/04/02 02:42:33 ray Exp $
.PATH: ${.CURDIR}/../cvs
@@ -16,11 +16,12 @@ LINKS= ${BINDIR}/rcs ${BINDIR}/ci ${BINDIR}/rcs ${BINDIR}/co \
${BINDIR}/rcs ${BINDIR}/rcsmerge ${BINDIR}/rcs ${BINDIR}/rlog \
${BINDIR}/rcs ${BINDIR}/ident
-CFLAGS+= -Wall
-CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations
-CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
-CFLAGS+= -Wsign-compare
+CFLAGS+=-Wall
+CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-Wmissing-declarations
+CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+=-Wsign-compare
+DEBUG= -g -ggdb
YFLAGS=
.include <bsd.prog.mk>