diff options
-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 c50645e618..cb188925f4 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" |