diff options
author | Mantas Mikulėnas | 2023-03-09 16:17:33 +0200 |
---|---|---|
committer | Mantas Mikulėnas | 2023-03-09 16:17:33 +0200 |
commit | 07175b9ec45a39057ac7e9d1a730c8c0e5a3c15e (patch) | |
tree | a2b97ba8f5228906b6a0c4b72e3636580b6f2832 | |
parent | 783dc1070e3a49ea39111f1258a3e885232af9f8 (diff) | |
download | aur-mstflint3.tar.gz |
fix build
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = mstflint3 pkgdesc = OpenFabrics Alliance firmware burning application (old version) for Mellanox ConnectX-2 pkgver = 3.8.0.27 - pkgrel = 1 + pkgrel = 2 url = https://www.openfabrics.org/index.php/overview.html arch = x86_64 arch = i686 @@ -4,7 +4,7 @@ pkgname=mstflint3 pkgver=3.8.0.27 _pkgver=3.8.0-1.27.gf3d39b6 -pkgrel=1 +pkgrel=2 pkgdesc='OpenFabrics Alliance firmware burning application (old version) for Mellanox ConnectX-2' arch=('x86_64' 'i686') url='https://www.openfabrics.org/index.php/overview.html' @@ -15,7 +15,8 @@ sha256sums=('SKIP') prepare() { cd mstflint-3.8.0 - sed -i '/FLAGS/ s/-Werror/-std=gnu++98/' configure.ac + sed -i '/^CFLAGS=/ s/-Werror//' configure.ac + sed -i '/^CXXFLAGS=/ s/-Werror/-std=gnu++98 -Wno-c++11-compat/' configure.ac ./autogen.sh } |