diff options
author | wiz <wiz@pkgsrc.org> | 2006-06-25 19:19:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2006-06-25 19:19:34 +0000 |
commit | 8c030306b501df028c3d794c4fd6fdaa3dc6a372 (patch) | |
tree | 3864a3d6024ce35acc3789a77f289b500f0b91eb /audio/libvisual/Makefile | |
parent | d60c2b3a406e32a765862181002584ccf64e413e (diff) | |
download | pkgsrc-8c030306b501df028c3d794c4fd6fdaa3dc6a372.tar.gz |
When compiling with gcc, add -mmmx to CPPFLAGS to tell
the compiler that the code uses MMX. Fixes build with gcc4 on 3.99.21.
Diffstat (limited to 'audio/libvisual/Makefile')
-rw-r--r-- | audio/libvisual/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/audio/libvisual/Makefile b/audio/libvisual/Makefile index 27b8feb3ff6..3ce0d10a716 100644 --- a/audio/libvisual/Makefile +++ b/audio/libvisual/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/05/13 12:33:04 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2006/06/25 19:19:34 wiz Exp $ # DISTNAME= libvisual-0.2.0 @@ -16,5 +16,11 @@ PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in GNU_CONFIGURE= yes USE_TOOLS+= pkg-config +.include "../../mk/compiler.mk" + +.if !empty(CC_VERSION:Mgcc*) +CPPFLAGS+= -mmmx +.endif + .include "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |