Commit eb560670 authored by info@mobile-stream.com's avatar info@mobile-stream.com Committed by Leonardo Arena

main/json-c0.12: fix build with gcc8

parent 7e04a9a5
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=json-c0.12 pkgname=json-c0.12
pkgver=0.12.1 pkgver=0.12.1
pkgrel=1 pkgrel=2
pkgdesc="A JSON implementation in C" pkgdesc="A JSON implementation in C"
url="https://github.com/json-c/json-c/wiki" url="https://github.com/json-c/json-c/wiki"
arch="all" arch="all"
...@@ -21,7 +21,7 @@ prepare() { ...@@ -21,7 +21,7 @@ prepare() {
build() { build() {
cd "$builddir" cd "$builddir"
export CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable" export CFLAGS="${CFLAGS} -Wno-error=unused-but-set-variable -Wno-error=implicit-fallthrough"
./configure --prefix=/usr \ ./configure --prefix=/usr \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment