diff options
| author | joerg <joerg@NetBSD.org> | 2012-08-10 12:20:10 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2012-08-10 12:20:10 +0000 |
| commit | 796ae57f296eac4b2c98c8a03e04eef040e37188 (patch) | |
| tree | 956feb424081e4b1aaa3eea61afabb8049291f1d /lib/libedit | |
| parent | e51e1c237afbdd9034c7fff839636761d3957dc7 (diff) | |
Don't depend on HAVE_GCC being always defined.
Diffstat (limited to 'lib/libedit')
| -rw-r--r-- | lib/libedit/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/Makefile b/lib/libedit/Makefile index 4014261faf9..0880363d11e 100644 --- a/lib/libedit/Makefile +++ b/lib/libedit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2012/03/21 05:37:42 matt Exp $ +# $NetBSD: Makefile,v 1.51 2012/08/10 12:20:10 joerg Exp $ # @(#)Makefile 8.1 (Berkeley) 6/4/93 USE_SHLIBDIR= yes @@ -127,7 +127,7 @@ tc1: libedit.a tc1.o .include <bsd.subdir.mk> # XXX -.if ${HAVE_GCC} >= 45 +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45 COPTS.editline.c+= -Wno-cast-qual COPTS.tokenizer.c+= -Wno-cast-qual COPTS.tokenizern.c+= -Wno-cast-qual |
