summaryrefslogtreecommitdiff
path: root/multimedia/HandBrake/HandBrake.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-04-16 11:53:52 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-19 22:47:49 +0700
commitd8957c2de20aa1b68e2c49d5992acb82cb31544f (patch)
treeb5f55af82be1da57cff945300668bb3b54c5db83 /multimedia/HandBrake/HandBrake.SlackBuild
parentf7c33cde3a6b0d8c2172fbef9991bfa3db577a15 (diff)
downloadslackbuilds-d8957c2de20aa1b68e2c49d5992acb82cb31544f.tar.gz
multimedia/HandBrake: Fixed build on i686.
Diffstat (limited to 'multimedia/HandBrake/HandBrake.SlackBuild')
-rw-r--r--multimedia/HandBrake/HandBrake.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/HandBrake/HandBrake.SlackBuild b/multimedia/HandBrake/HandBrake.SlackBuild
index a53dc90d03..5e50a7ae87 100644
--- a/multimedia/HandBrake/HandBrake.SlackBuild
+++ b/multimedia/HandBrake/HandBrake.SlackBuild
@@ -62,6 +62,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# fix i686 build: "inlining failed in call to always_inline '_mm_loadu_ps': target specific option mismatch"
+# https://github.com/HandBrake/HandBrake/blob/master/contrib/lame/A00-xmmintrin.patch
+cp $CWD/A00-lame-xmmintrin.patch contrib/lame/
+cp $CWD/A00-mpeg2dec-xmmintrin.patch contrib/mpeg2dec/
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \