diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-29 01:09:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-01-29 01:09:57 +0700 |
commit | cad4a4073b0a1cb7551f6a480dd39311e98bf3f6 (patch) | |
tree | 3ead8183e88fa3f96dae1007c4a6faed553a3c4e | |
parent | 23dd4f26489029eb749e69d94c1b4a9ef273d712 (diff) |
libraries/libupnp: Fix build on 32 bit.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | libraries/libupnp/libupnp.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/libupnp/libupnp.SlackBuild b/libraries/libupnp/libupnp.SlackBuild index c0fe163826f2c..db6a35e3fc166 100644 --- a/libraries/libupnp/libupnp.SlackBuild +++ b/libraries/libupnp/libupnp.SlackBuild @@ -57,6 +57,9 @@ else LIBDIRSUFFIX="" fi +# largefile support must be disabled on 32bit +LARGEFILE="" ; [ "$ARCH" = "i686" ] || [ "$ARCH" = "i586" ] && LARGEFILE="--disable-largefile" + set -e rm -rf $PKG @@ -83,6 +86,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-shared=yes \ --enable-static=$ENABLESTATIC \ --enable-ipv6=$ENABLEIPV6 \ + $LARGEFILE \ --build=$ARCH-slackware-linux make |