pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/audacity audacity: Disable SSE on non-x86



details:   https://anonhg.NetBSD.org/pkgsrc/rev/baf015e9b1b9
branches:  trunk
changeset: 403044:baf015e9b1b9
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Oct 20 09:59:13 2019 +0000

description:
audacity: Disable SSE on non-x86

diffstat:

 audio/audacity/Makefile |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r 33f94c093f6f -r baf015e9b1b9 audio/audacity/Makefile
--- a/audio/audacity/Makefile   Sun Oct 20 09:55:45 2019 +0000
+++ b/audio/audacity/Makefile   Sun Oct 20 09:59:13 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.124 2019/09/03 01:43:10 mrg Exp $
+# $NetBSD: Makefile,v 1.125 2019/10/20 09:59:13 nia Exp $
 
 DISTNAME=              audacity-2.3.2
 PKGREVISION=           1
@@ -64,6 +64,10 @@
 CXXFLAGS+=     -march=i586
 .endif
 
+.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
+CONFIGURE_ARGS+=       --disable-sse
+.endif
+
 .include "../../mk/oss.buildlink3.mk"
 
 .if !empty(OSS_TYPE) && ${OSS_TYPE} != "none"
@@ -72,9 +76,9 @@
 CONFIGURE_ARGS+=       --without-oss
 .endif
 
-CONFIG_GUESS_OVERRIDE=         \
+CONFIG_GUESS_OVERRIDE= \
        config.guess */config.guess */*/config.guess */*/*/config.guess
-CONFIG_SUB_OVERRIDE=           \
+CONFIG_SUB_OVERRIDE= \
        config.sub */config.sub */*/config.sub */*/*/config.sub
 
 CFLAGS.SunOS+= -fPIC



Home | Main Index | Thread Index | Old Index