diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-03-29 20:01:13 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-03-31 12:48:02 +0100 |
commit | 0753b35e0744e33def272d05d3d289829cf82475 (patch) | |
tree | ec6a9943581e20e2b0b9ffbd055846e5b4c51f55 /audio/guitarix/guitarix.SlackBuild | |
parent | 709c5dbfd6efc3b98761034895cc8d472932dde0 (diff) |
audio/guitarix: Fix building on i486.
Due to changes in gcc-5.3.0, guitarix fails to build without SSE.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/guitarix/guitarix.SlackBuild')
-rw-r--r-- | audio/guitarix/guitarix.SlackBuild | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/audio/guitarix/guitarix.SlackBuild b/audio/guitarix/guitarix.SlackBuild index adba06e98480e..aab340422d551 100644 --- a/audio/guitarix/guitarix.SlackBuild +++ b/audio/guitarix/guitarix.SlackBuild @@ -37,6 +37,14 @@ # - Add WEBKIT=no option. # - Remove LV2=no option from README (but not from script). +# 20160329 dbs: +# - Updated for Slackware-14.2. Forced -msse in SLKCFLAGS. +# This just won't build without SSE on 32 bit gcc-5.3.0 :( +# xmmintrin.h:857:1: error: inlining failed in call to always_inline +# ‘void _MM_SET_EXCEPTION_STATE(unsigned int)’: target specific option mismatch +# Patch 0003-fix-build-even-for-gcc4.8.patch doesn't fix it, and there +# are no further fixes upstream at this time. + # Modified version released under the WTFPL, for details see # http://www.wtfpl.net/txt/copying/ @@ -59,10 +67,10 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" + SLKCFLAGS="-O2 -march=i486 -mtune=i686 -msse" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O2 -march=i686 -mtune=i686 -msse" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" @@ -109,8 +117,8 @@ if [ "${PATCH:-no}" = "yes" ]; then done fi -# allow building non-SSE package on SSE host -[ "${SSE:-yes}" = "no" ] && EXTRAOPT="$EXTRAOPT --disable-sse" +# Disallow building non-SSE package +[ "${SSE:-yes}" = "no" ] && echo "Building a non-SSE package is not supported." && exit 1 LIBDIR="/usr/lib${LIBDIRSUFFIX}" ./waf configure \ |