From ae926fd3e2e315a837f4fa6faa355352bed0408d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 14 Jul 2014 21:27:11 +0200 Subject: audio/jack-audio-connection-kit: Fix build on x86_64. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- .../jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild index bbb62a4693d78..02c98f9559c43 100644 --- a/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild +++ b/audio/jack-audio-connection-kit/jack-audio-connection-kit.SlackBuild @@ -27,7 +27,7 @@ PRGNAM=jack-audio-connection-kit VERSION=${VERSION:-0.124.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -72,6 +72,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# respect march and mtune flags: fixes building on x86_64 +sed -i 's|-march=native \-mtune=native||' configure.ac +autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3