aboutsummaryrefslogtreecommitdiff
path: root/libraries/libupnp
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libupnp')
-rw-r--r--libraries/libupnp/libupnp.SlackBuild4
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