diff options
author | Erik Falor <ewfalor@gmail.com> | 2018-07-05 20:53:37 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-07 06:54:16 +0700 |
commit | 8f74b391983734eb6c48e6b4ded9718961ea1f2a (patch) | |
tree | bd807af4724fb964abd22b427bf30f8f6131f193 /development/luajit | |
parent | 84d052f2d3b742788e82eb658c968a4908ada75a (diff) |
development/luajit: Fix FLAGS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/luajit')
-rw-r--r-- | development/luajit/luajit.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/development/luajit/luajit.SlackBuild b/development/luajit/luajit.SlackBuild index c50645e618bf3..cb188925f4d96 100644 --- a/development/luajit/luajit.SlackBuild +++ b/development/luajit/luajit.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for luajit -# Copyright 2017 Erik Falor <ewfalor@gmail.com>, Logan, Utah, USA +# Copyright 2018 Erik Falor <ewfalor@gmail.com>, Logan, Utah, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=luajit VERSION=${VERSION:-2.0.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -47,12 +47,7 @@ elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - - # NOTE: -fPIC is intentionally missing here. This library's build system - # builds both a static and a dynamic library, and will use -fPIC as - # appropriate. - - SLKCFLAGS="-O2" + SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" |