diff options
Diffstat (limited to 'development/gc/gc.SlackBuild')
-rw-r--r-- | development/gc/gc.SlackBuild | 9 |
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 |