Module Name: src Committed By: joerg Date: Tue Aug 2 17:22:02 UTC 2011
Modified Files: src/lib/libedit: Makefile Log Message: Only use -Wconversion if GCC is actually the active compiler. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/lib/libedit/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libedit/Makefile diff -u src/lib/libedit/Makefile:1.47 src/lib/libedit/Makefile:1.48 --- src/lib/libedit/Makefile:1.47 Sat Jul 30 10:07:27 2011 +++ src/lib/libedit/Makefile Tue Aug 2 17:22:02 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2011/07/30 10:07:27 tron Exp $ +# $NetBSD: Makefile,v 1.48 2011/08/02 17:22:02 joerg Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 USE_SHLIBDIR= yes @@ -12,8 +12,8 @@ .include "bsd.own.mk" COPTS+= -Wunused-parameter -.if !defined(HAVE_GCC) || ${HAVE_GCC} != 45 -COPTS+= -Wconversion +.if defined(HAVE_GCC) && ${HAVE_GCC} != 45 +CWARNFLAGS.gcc+= -Wconversion .endif OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \