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
commitbd4f1c7f641d8ad400ce3b655d950e628cc1257f (patch)
tree99588732e282208654986435a25cb4f96a72dd23
parentf5ded3754594dadbb677f2405d7e02a62e711751 (diff)
downloadaports-bd4f1c7f641d8ad400ce3b655d950e628cc1257f.tar.gz
aports-bd4f1c7f641d8ad400ce3b655d950e628cc1257f.tar.bz2
aports-bd4f1c7f641d8ad400ce3b655d950e628cc1257f.tar.xz
main/lua-stringy: fix build with gcc8
Another GNU-style inline case.
-rw-r--r--main/lua-stringy/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/lua-stringy/APKBUILD b/main/lua-stringy/APKBUILD
index 04a533f929..f189a49236 100644
--- a/main/lua-stringy/APKBUILD
+++ b/main/lua-stringy/APKBUILD
@@ -3,7 +3,7 @@
pkgname=lua-stringy
pkgver=0.5.0
_pkgver=${pkgver%.*}-${pkgver##*.}
-pkgrel=0
+pkgrel=1
pkgdesc="Lua string utility library"
url="https://github.com/brentp/lua-stringy/"
arch="all"
@@ -39,6 +39,7 @@ prepare() {
build() {
local lver; for lver in $_luaversions; do
msg "Building for Lua $lver..."
+ CFLAGS="$CFLAGS -std=gnu89" \
make -C "$builddir-$lver" \
CC="${CC:-gcc}" \
LUA_PC="lua$lver" \