diff options
author | Daniil Bratashov <dn2010@gmail.com> | 2013-06-25 18:41:11 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2013-06-25 18:41:11 -0300 |
commit | c5e051dd7731911ea14af5535c54793f3fc4fab8 (patch) | |
tree | 98bb304b3581ce55e3be06647be556f65a7ac60d /libraries/liboglappth | |
parent | 4400a082c160003d04c0ae5eab69e315a0bf6036 (diff) | |
download | slackbuilds-c5e051dd7731911ea14af5535c54793f3fc4fab8.tar.gz |
libraries/liboglappth: Fix for x86_64
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/liboglappth')
-rw-r--r-- | libraries/liboglappth/liboglappth.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/liboglappth/liboglappth.SlackBuild b/libraries/liboglappth/liboglappth.SlackBuild index 8677d022cf..058a5c690c 100644 --- a/libraries/liboglappth/liboglappth.SlackBuild +++ b/libraries/liboglappth/liboglappth.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=liboglappth VERSION=${VERSION:-1.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -24,15 +24,19 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LDFLAGS="" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LDFLAGS="" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LDFLAGS="-L/usr/lib64" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" + LDFLAGS="" LIBDIRSUFFIX="" fi @@ -53,6 +57,7 @@ find . \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ +LDFLAGS="$LDFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |