diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 97fb9f6a0..1de609dc2 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -713,7 +713,7 @@ do # v4.13) and commit 6f303d60534c ("gcc-9: silence 'address-of-packed-member' # warning"; v5.1). for w in -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -Wno-address-of-packed-member; do - if gcc -c -xc - "$w" &/dev/null; then + if gcc -c -xc -E - "$w" &/dev/null; then KCFLAGS+=" $w" fi done