diff options
author | nia <nia@pkgsrc.org> | 2019-07-15 18:47:20 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-07-15 18:47:20 +0000 |
commit | 1222f8e632ad687f42fc131c8c7f8aef91e03745 (patch) | |
tree | ca6b1fd9ed66f0810a0874d582945e0da390053a | |
parent | acfb74bdc6bb2811a0bd932912096566d48cedee (diff) | |
download | pkgsrc-1222f8e632ad687f42fc131c8c7f8aef91e03745.tar.gz |
cmus: Needs 64-bit atomic ops - build with -march=i586 on i386.
-rw-r--r-- | audio/cmus/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/cmus/Makefile b/audio/cmus/Makefile index d359aa21f84..417320f4a67 100644 --- a/audio/cmus/Makefile +++ b/audio/cmus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.79 2019/07/02 06:23:50 nia Exp $ +# $NetBSD: Makefile,v 1.80 2019/07/15 18:47:20 nia Exp $ DISTNAME= cmus-2.8.0 CATEGORIES= audio @@ -47,6 +47,11 @@ CONFIGURE_ARGS+= CONFIG_SUN=n PLIST.coreaudio= yes .endif +.if ${MACHINE_ARCH} == "i386" +# 64 bit atomic ops are required +CXXFLAGS+= -march=i586 +.endif + NOT_PAX_MPROTECT_SAFE+= bin/cmus .include "options.mk" |