aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinfo@mobile-stream.com <info@mobile-stream.com>2018-11-13 21:03:02 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-11-14 07:18:43 +0000
commitb0217c5f7f3e8dd7ebdd382ffdb0ca8e502d7d5b (patch)
tree3e0db66c416d6b6dd634868ffa5216713fcadee8
parentf84ea5cb8c84f26285d13d1f9aeebf6c0fffc2f4 (diff)
downloadaports-b0217c5f7f3e8dd7ebdd382ffdb0ca8e502d7d5b.tar.gz
aports-b0217c5f7f3e8dd7ebdd382ffdb0ca8e502d7d5b.tar.bz2
aports-b0217c5f7f3e8dd7ebdd382ffdb0ca8e502d7d5b.tar.xz
main/squashfs-tools: fix build with gcc8
Another GNU-style inline case.
-rw-r--r--main/squashfs-tools/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/squashfs-tools/APKBUILD b/main/squashfs-tools/APKBUILD
index 119d2d11d8..e0db9f2e61 100644
--- a/main/squashfs-tools/APKBUILD
+++ b/main/squashfs-tools/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=squashfs-tools
pkgver=4.3
-pkgrel=4
+pkgrel=5
pkgdesc="Tools for squashfs, a highly compressed read-only filesystem for Linux."
url="http://squashfs.sourceforge.net"
arch="all"
@@ -28,6 +28,7 @@ prepare() {
build() {
cd "$_builddir"
+ CFLAGS="$CFLAGS -std=gnu89" \
make XZ_SUPPORT=1 LZO_SUPPORT=1 LZ4_SUPPORT=1
}