summaryrefslogtreecommitdiff
path: root/source/l/gcr/gcr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/gcr/gcr.SlackBuild')
-rwxr-xr-xsource/l/gcr/gcr.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/l/gcr/gcr.SlackBuild b/source/l/gcr/gcr.SlackBuild
index f46e43aa..0428e20c 100755
--- a/source/l/gcr/gcr.SlackBuild
+++ b/source/l/gcr/gcr.SlackBuild
@@ -24,11 +24,11 @@
PKGNAM=gcr
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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 @@ CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
-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"
@@ -79,6 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-schemas-compile \
--disable-update-mime \
--disable-update-icon-cache \
+ --disable-vala \
--disable-debug \
--build=$ARCH-slackware-linux || exit 1