diff options
Diffstat (limited to 'development/flow')
-rw-r--r-- | development/flow/flow.SlackBuild | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/development/flow/flow.SlackBuild b/development/flow/flow.SlackBuild index b837b36f9a..68fd7ccda5 100644 --- a/development/flow/flow.SlackBuild +++ b/development/flow/flow.SlackBuild @@ -24,12 +24,12 @@ PRGNAM=flow VERSION=${VERSION:-0.20.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -73,9 +73,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Need to remove this for Slackware 14.2 -sed -i "s|EXTRA_INCLUDE_PATHS=|EXTRA_INCLUDE_PATHS=/usr/include/libelf|" Makefile - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make |