diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-04-23 19:16:11 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 43eb4bfd19117c65b2a1c173e5bd72512db9165c (patch) | |
tree | 052199e00f31a92ea00836dfff25f6a561dd6fbb /libraries/lame/lame.SlackBuild | |
parent | 7d4a93f2ccf5994316c44c77a8be0bae174cfa52 (diff) |
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/lame/lame.SlackBuild')
-rw-r--r-- | libraries/lame/lame.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild index 3b5d60bb07ce..bf04caabc0f0 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 \ |