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
commitf84ea5cb8c84f26285d13d1f9aeebf6c0fffc2f4 (patch)
treefadb56e86cb993b4b6bbaff8386b30bfec49b3bb
parent7ae02ea7b27471eaccde4edb7b72340279058199 (diff)
downloadaports-f84ea5cb8c84f26285d13d1f9aeebf6c0fffc2f4.tar.gz
aports-f84ea5cb8c84f26285d13d1f9aeebf6c0fffc2f4.tar.bz2
aports-f84ea5cb8c84f26285d13d1f9aeebf6c0fffc2f4.tar.xz
main/recode: fix build with gcc8
Another GNU-style inline case.
-rw-r--r--main/recode/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/recode/APKBUILD b/main/recode/APKBUILD
index c3bfaf42dd..e2b379348e 100644
--- a/main/recode/APKBUILD
+++ b/main/recode/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=recode
pkgver=3.6
-pkgrel=1
+pkgrel=2
pkgdesc="Charset converter tool and library"
url="https://github.com/pinard/Recode"
arch="all"
@@ -36,6 +36,7 @@ prepare() {
build() {
cd "$_builddir"
+ CFLAGS="$CFLAGS -std=gnu89" \
./configure \
--build=$CBUILD \
--host=$CHOST \