From eb82fdc2eafc3d1b5f837fcda2c4903106d9d79a Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 22 Dec 2014 15:07:05 +0100 Subject: KDE 4.8.4 for Slackware 14.0 (07jun2012) --- kde/KDE.options | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'kde/KDE.options') 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="" -- cgit v1.2.3