aboutsummaryrefslogtreecommitdiff
path: root/desktop/cwm/cwm.SlackBuild
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2017-10-28 20:47:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-11-01 07:33:57 +0700
commit03bae2a2a7792d9ef9d755c9c83c8a24fd4b34d4 (patch)
tree5988b72e85b886f5dbd72b2b77344ea8374b7044 /desktop/cwm/cwm.SlackBuild
parent6c5debc5dce879f3c0518007de15e4ee34a55534 (diff)
desktop/cwm: Updated for version 6.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/cwm/cwm.SlackBuild')
-rw-r--r--desktop/cwm/cwm.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/desktop/cwm/cwm.SlackBuild b/desktop/cwm/cwm.SlackBuild
index a4977020d347f..c8955a1aeb99d 100644
--- a/desktop/cwm/cwm.SlackBuild
+++ b/desktop/cwm/cwm.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cwm
-VERSION=${VERSION:-5.6}
+VERSION=${VERSION:-6.2}
BUILD=${BUILD:-1}
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,17 +40,17 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS=""
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi