From dc9f0093cf755efb408057b656e796c910585e2e Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Tue, 7 Jan 2020 09:46:01 +1100 Subject: properly quote the definition of warns --- cflags.SH | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cflags.SH') diff --git a/cflags.SH b/cflags.SH index 90bf7057b5..96bfcd928b 100755 --- a/cflags.SH +++ b/cflags.SH @@ -178,10 +178,10 @@ Intel*) ;; # # Is that you, Intel C++? # -std=c89 before -ansi # -pedantic* before -Werror=d-a-s # -*) warns=-std=c89 -ansi $pedantic \ +*) warns="-std=c89 -ansi $pedantic \ -Werror=pointer-arith \ -Wextra -W \ - -Wc++-compat -Wwrite-strings + -Wc++-compat -Wwrite-strings" # declaration after statement is normal in C++ rather than an # extension and compilers complain if we try to warn about it case "$d_cplusplus" in -- cgit v1.2.1