From f5fb796619c719d4e3d1aa908dd25e8f4496bed4 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 4 Jan 2008 15:47:34 +0000 Subject: We use -W in the loop vars, no don't duplicate in the test. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 8547b45a..7ba18392 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,7 +17,7 @@ check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ # pmake check for extra cflags WEXTRA != for x in -Wdeclaration-after-statement -Wsequence-point -Wextra; do \ - if $(CC) -W$$x -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ + if $(CC) $$x -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ then echo -n "$$x "; fi \ done -- cgit v1.2.3