summaryrefslogtreecommitdiff
path: root/system/xbindkeys/xbindkeys.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/xbindkeys/xbindkeys.SlackBuild')
-rw-r--r--system/xbindkeys/xbindkeys.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/xbindkeys/xbindkeys.SlackBuild b/system/xbindkeys/xbindkeys.SlackBuild
index 7e9d13225c..9cfaec154b 100644
--- a/system/xbindkeys/xbindkeys.SlackBuild
+++ b/system/xbindkeys/xbindkeys.SlackBuild
@@ -5,10 +5,11 @@
# Modified by the SlackBuilds.org project
PRGNAM=xbindkeys
-VERSION=1.8.1
+VERSION=1.8.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -18,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
rm -rf $PKG