summaryrefslogtreecommitdiffstats
path: root/kde/KDE.options
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-12-22 15:07:05 +0100
committer Eric Hameleers <alien@slackware.com>2014-12-22 15:07:05 +0100
commiteb82fdc2eafc3d1b5f837fcda2c4903106d9d79a (patch)
tree4faf464e6ba3d915031f30be18faadb92c31d3c2 /kde/KDE.options
parent270c1ba7053478dbd1c632eea18d6e54d51e4ecc (diff)
downloadktown-4.8.4.tar.gz
ktown-4.8.4.tar.xz
KDE 4.8.4 for Slackware 14.0 (07jun2012)4.8.4
Diffstat (limited to 'kde/KDE.options')
-rw-r--r--kde/KDE.options15
1 files changed, 10 insertions, 5 deletions
diff --git a/kde/KDE.options b/kde/KDE.options
index 3344f08..bc929a6 100644
--- a/kde/KDE.options
+++ b/kde/KDE.options
@@ -3,16 +3,18 @@
# usually has a different version number), or by setting your own
# environment variables.
-[ -z $VERSION ] && export VERSION=4.7.4
+[ -z $VERSION ] && export VERSION=4.8.4
[ -z $BUILD ] && export BUILD=1
# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
+ *) export ARCH=$MARCH ;;
esac
fi
@@ -35,6 +37,9 @@ if [ -z "$SLKCFLAGS" ]; then
elif [ "$ARCH" = "armel" ]; then
export SLKCFLAGS="-O2 -march=armv4t"
export LIBDIRSUFFIX=""
+ elif [ "$ARCH" = "armv7hl" ]; then
+ export SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ export LIBDIRSUFFIX=""
else
export SLKCFLAGS="-O2"
export LIBDIRSUFFIX=""