gcc 2.95 does not understand -Wno-unused-variable. Use BUILDLINK_TRANSFORM

to remove it.
This commit is contained in:
kristerw 2004-11-12 20:18:27 +00:00
parent cac434648b
commit 8601ae1454

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
# $NetBSD: Makefile,v 1.2 2004/11/12 20:18:27 kristerw Exp $
#
DISTNAME= libvisual-0.1.7
@ -15,6 +15,9 @@ USE_X11= yes
PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in
GNU_CONFIGURE= yes
# Remove option that gcc 2.95 does not understand.
BUILDLINK_TRANSFORM+= rm:-Wno-unused-variable
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"