Fix build with sunpro's cc and other non-gcc compiler I guess:

do not blindly compile var.c with -Wno-cast-qual.
This commit is contained in:
seb 2009-09-19 09:01:59 +00:00
parent d5e5d74732
commit d7241c0a75

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile.in,v 1.13 2009/09/18 21:27:25 joerg Exp $
# $NetBSD: Makefile.in,v 1.14 2009/09/19 09:01:59 seb Exp $
# @(#)Makefile 5.2 (Berkeley) 12/28/90
# $Id: Makefile.in,v 1.13 2009/09/18 21:27:25 joerg Exp $
# $Id: Makefile.in,v 1.14 2009/09/19 09:01:59 seb Exp $
PROG= bmake
SRCS= arch.c buf.c compat.c cond.c dir.c for.c hash.c job.c main.c \
@ -121,7 +121,6 @@ install-mk:
.else
@echo need to unpack mk.tar.gz under ${srcdir} or set MKSRC; false
.endif
CFLAGS_var.o += -Wno-cast-qual
.ifdef TOOLDIR
# this is a native netbsd build,