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
|
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
|
||||||
|
|
Loading…
Reference in a new issue