modem/libsmdpkt_wrapper: disable Werror

Fixes the build with GCC-9.
This commit is contained in:
Oliver Smith
2019-10-13 22:10:29 +02:00
parent 14cccd4bad
commit a132464893
+6 -1
View File
@@ -1,6 +1,6 @@
pkgname=libsmdpkt_wrapper
pkgver=0.1
pkgrel=0
pkgrel=1
pkgdesc="wrapper to get ofonod and qmicli working on smdpkt devices (MSM kernel's SMD)"
url="https://github.com/scintill/libsmdpkt_wrapper"
arch="all"
@@ -12,6 +12,11 @@ source="$pkgname-$_tag.tar.gz::https://github.com/scintill/libsmdpkt_wrapper/arc
builddir="$srcdir""/libsmdpkt_wrapper-${pkgver}"
options="!check"
prepare() {
default_prepare
sed s/-Werror/-W/g -i Makefile
}
build() {
cd "$builddir"
make