summaryrefslogtreecommitdiff
path: root/libraries/lame/lame.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lame/lame.SlackBuild')
-rw-r--r--libraries/lame/lame.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild
index 3b5d60bb07..bf04caabc0 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 \