diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-07-16 19:55:24 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-07-17 07:15:43 +0700 |
commit | 60d190b0bdb207a77e53e50fe4b36fabf1ce4ce2 (patch) | |
tree | 941d937e280c8e57299d51e01bc61996cdd52823 /system/sandbox/sandbox.SlackBuild | |
parent | cb8db2ed5c976d978054c134004c6ea1a3974d6c (diff) | |
download | slackbuilds-60d190b0bdb207a77e53e50fe4b36fabf1ce4ce2.tar.gz |
system/sandbox: Fixed build on 32 bit.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/sandbox/sandbox.SlackBuild')
-rw-r--r-- | system/sandbox/sandbox.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/system/sandbox/sandbox.SlackBuild b/system/sandbox/sandbox.SlackBuild index 3f763f52e7..c53e008657 100644 --- a/system/sandbox/sandbox.SlackBuild +++ b/system/sandbox/sandbox.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=sandbox VERSION=${VERSION:-2.13} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,11 +69,13 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Fix build with slibtool -# https://bugs.gentoo.org/656184 -zcat $CWD/slibtool.patch.gz | patch -p1 +# Remove -nodefaultlibs to avoid compiler failures for 32-bit with slibtool. +# GNU libtool swallows anything not on their list of "known" linker flags. +# https://bugs.gentoo.org/657184 +patch -p1 < $CWD/slibtool.patch autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ |