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:
parent
203fd7ffc7
commit
4301477c32
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user