pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libvisual When compiling with gcc, add -mmmx to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eb1ccdf69e15
branches: trunk
changeset: 515132:eb1ccdf69e15
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jun 25 19:19:34 2006 +0000
description:
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:
audio/libvisual/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r fd5b00cb1ed6 -r eb1ccdf69e15 audio/libvisual/Makefile
--- a/audio/libvisual/Makefile Sun Jun 25 18:36:28 2006 +0000
+++ b/audio/libvisual/Makefile Sun Jun 25 19:19:34 2006 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index