diff options
| author | mrg <mrg@NetBSD.org> | 2008-02-09 02:36:12 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2008-02-09 02:36:12 +0000 |
| commit | b757a71702c75498c5afb210c3500a541b25e637 (patch) | |
| tree | 9215f00b25c2c155a505498fdd7f1ac977bc3cef /lib/libcurses | |
| parent | eff6f27b553c521f8105b649bd4aec4ab97ff6fe (diff) | |
only use -Wuninitialized with -O>0.
Diffstat (limited to 'lib/libcurses')
| -rw-r--r-- | lib/libcurses/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile index 2e703c549c6..e73049e2d3b 100644 --- a/lib/libcurses/Makefile +++ b/lib/libcurses/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.54 2007/05/29 13:20:21 blymn Exp $ +# $NetBSD: Makefile,v 1.55 2008/02/09 02:36:12 mrg Exp $ # @(#)Makefile 8.2 (Berkeley) 1/2/94 .include <bsd.own.mk> @@ -10,7 +10,10 @@ CPPFLAGS+=-g -DDEBUG .if defined(SMALL) CPPFLAGS+=-DSMALL .endif -COPTS+=-Wuninitialized -Wstrict-prototypes -Wmissing-prototypes +COPTS+=-Wstrict-prototypes -Wmissing-prototypes +.if empty(DBG:M*-O0*) +COPTS+=-Wuninitialized +.endif LIB= curses SRCS= acs.c addbytes.c addch.c addchnstr.c addnstr.c attributes.c \ background.c bell.c border.c box.c clear.c clearok.c clrtobot.c \ |
