From e4c26938a4230d463a86c4d563f8f1172ee1561d Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Wed, 26 Feb 2020 13:14:21 +0100 Subject: [PATCH] test/common: Drop single quotes in --extra-cflags arg Since '' are placed within "" they are treated as literal part of the argument passed to configure. Due to that, configure fails to run cc since all -W flags are treated as one. Change-Id: I69e182f308628cc5b63bd363d3a47cf87336a59a Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1024 Reviewed-by: Darek Stojaczyk Reviewed-by: Jim Harris Tested-by: SPDK CI Jenkins --- test/common/config/vm_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/config/vm_setup.sh b/test/common/config/vm_setup.sh index 13934deff..a49ff1fff 100755 --- a/test/common/config/vm_setup.sh +++ b/test/common/config/vm_setup.sh @@ -220,7 +220,7 @@ function install_qemu() declare -a opt_params=("--prefix=/usr/local/qemu/$SPDK_QEMU_BRANCH") if [ "$PACKAGEMNG" = "pacman" ]; then # GCC 9 on ArchLinux fails to compile Qemu due to some old warnings which were not detected by older versions. - opt_params+=("--extra-cflags='-Wno-error=stringop-truncation -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-error=format-truncation'") + opt_params+=("--extra-cflags=-Wno-error=stringop-truncation -Wno-error=deprecated-declarations -Wno-error=incompatible-pointer-types -Wno-error=format-truncation") opt_params+=("--disable-glusterfs") fi