summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-23 19:16:11 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit43eb4bfd19117c65b2a1c173e5bd72512db9165c (patch)
tree052199e00f31a92ea00836dfff25f6a561dd6fbb /libraries
parent7d4a93f2ccf5994316c44c77a8be0bae174cfa52 (diff)
downloadslackbuilds-43eb4bfd19117c65b2a1c173e5bd72512db9165c.tar.gz
libraries/lame: Added a fix for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-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 \