pkgdep/git: Clear libiscsi's WARN_CFLAGS

These are not understood by the older versions of the compiler, like
the one shipped with Centos7. The flags in question are:

 -Wno-stringop-truncation
 -Wno-unknown-warning-option

Change-Id: Icc29ebcf5080c908e23aa2df290a6c452f3e185c
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4671
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Michal Berger 2020-10-14 16:08:28 +02:00 committed by Jim Harris
parent 203fd7ffc7
commit 4301477c32

View File

@ -240,7 +240,7 @@ function install_libiscsi() {
echo "libiscsi already checked out. Skipping"
fi
(cd "$GIT_REPOS/libiscsi" && ./autogen.sh && ./configure --prefix=/usr/local/libiscsi)
make -C "$GIT_REPOS/libiscsi" -j${jobs}
make -C "$GIT_REPOS/libiscsi" -j${jobs} WARN_CFLAGS=
sudo make -C "$GIT_REPOS/libiscsi" install
}