aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-01-04 15:47:34 +0000
committerRoy Marples <roy@marples.name>2008-01-04 15:47:34 +0000
commitf5fb796619c719d4e3d1aa908dd25e8f4496bed4 (patch)
treec80c46d37c6ffe6db4c08b6dc94df438edb5963e /src/Makefile
parent339efeb347720c65cf949f339934b15140dab84d (diff)
We use -W in the loop vars, no don't duplicate in the test.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
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