diff --git a/mstflint.spec b/mstflint.spec index 3d230421eef14d518cbabe07a112036f1f8aec3c..46334e5b72ff5ba2c49030a89d8049ee4f5a369c 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -1,7 +1,7 @@ Name: mstflint Summary: Firmware Burning and Diagnostics Tools Version: 4.10.0 -Release: 6 +Release: 7 License: GPLv2+ or BSD Url: https://github.com/Mellanox/mstflint Source: https://github.com/Mellanox/%{name}/releases/download/v4.10.0-2/%{name}-%{version}.tar.gz @@ -24,6 +24,8 @@ code. Please see the file LICENSE for licensing details. %build export CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %configure --enable-fw-mgr +sed -i "/AM_CFLAGS = -W -Werror /s/AM_CFLAGS = -W -Werror /AM_CFLAGS = -W -Wno-error=return-local-addr /" ext_libs/sqlite/Makefile.am +sed -i "/AM_CFLAGS = -W -Werror /s/AM_CFLAGS = -W -Werror /AM_CFLAGS = -W -Wno-error=return-local-addr /" ext_libs/sqlite/Makefile.in %make_build %install