summaryrefslogtreecommitdiff
path: root/development/gc/gc.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-12 17:38:26 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:38:26 +0200
commit1cea02692f4e298ad7e563105e0f3ea3ce92437b (patch)
tree57c26027f1a70aa7f85d30da27ae1d18a9fa403c /development/gc/gc.SlackBuild
parentf52bc5a0b6f85ba6272c9e110210a4329f4edd66 (diff)
downloadslackbuilds-1cea02692f4e298ad7e563105e0f3ea3ce92437b.tar.gz
development/gc: Updated for version 7.1
Diffstat (limited to 'development/gc/gc.SlackBuild')
-rw-r--r--development/gc/gc.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/gc/gc.SlackBuild b/development/gc/gc.SlackBuild
index 843ad159ef..b6b85a2b7b 100644
--- a/development/gc/gc.SlackBuild
+++ b/development/gc/gc.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gc
-# Copyright 2006-2007 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gc
-VERSION=${VERSION:-7.0}
+VERSION=${VERSION:-7.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,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
set -e
@@ -55,7 +57,8 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--mandir=/usr/man \
- --enable-static=no
+ --enable-static=no \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG