From d8957c2de20aa1b68e2c49d5992acb82cb31544f Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 16 Apr 2016 11:53:52 +0100 Subject: multimedia/HandBrake: Fixed build on i686. --- multimedia/HandBrake/HandBrake.SlackBuild | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'multimedia/HandBrake/HandBrake.SlackBuild') 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 \ -- cgit v1.2.3