modem/libsmdpkt_wrapper: disable Werror
Fixes the build with GCC-9.
This commit is contained in:
parent
14cccd4bad
commit
a132464893
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue