From 43eb4bfd19117c65b2a1c173e5bd72512db9165c Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 23 Apr 2015 19:16:11 +0200 Subject: libraries/lame: Added a fix for the newer gcc. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- libraries/lame/lame.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libraries') diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild index 3b5d60bb07cec..bf04caabc0f04 100644 --- a/libraries/lame/lame.SlackBuild +++ b/libraries/lame/lame.SlackBuild @@ -70,6 +70,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix for the newer gcc +# http://www.linuxfromscratch.org/blfs/view/svn/multimedia/lame.html +case $(uname -m) in + i?86) sed -i -e '/xmmintrin\.h/d' configure ;; +esac + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ -- cgit v1.2.3