modem/libsmdpkt_wrapper: disable Werror

Fixes the build with GCC-9.
This commit is contained in:
Oliver Smith 2019-10-13 21:57:01 +02:00
parent 14cccd4bad
commit a132464893
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,6 +1,6 @@
pkgname=libsmdpkt_wrapper pkgname=libsmdpkt_wrapper
pkgver=0.1 pkgver=0.1
pkgrel=0 pkgrel=1
pkgdesc="wrapper to get ofonod and qmicli working on smdpkt devices (MSM kernel's SMD)" pkgdesc="wrapper to get ofonod and qmicli working on smdpkt devices (MSM kernel's SMD)"
url="https://github.com/scintill/libsmdpkt_wrapper" url="https://github.com/scintill/libsmdpkt_wrapper"
arch="all" arch="all"
@ -12,6 +12,11 @@ source="$pkgname-$_tag.tar.gz::https://github.com/scintill/libsmdpkt_wrapper/arc
builddir="$srcdir""/libsmdpkt_wrapper-${pkgver}" builddir="$srcdir""/libsmdpkt_wrapper-${pkgver}"
options="!check" options="!check"
prepare() {
default_prepare
sed s/-Werror/-W/g -i Makefile
}
build() { build() {
cd "$builddir" cd "$builddir"
make make