]> git.tuebingen.mpg.de Git - dss.git/commitdiff
Silence clang warnings.
authorAndre Noll <maan@systemlinux.org>
Tue, 21 Jan 2014 15:56:37 +0000 (16:56 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 22 Jan 2014 15:23:27 +0000 (16:23 +0100)
The -Wno-sign-compare option is supposed to not print the noisy
warnings for comparisons between signed and unsigned values.
Currently, in DEBUG_CFLAGS this option is followed by -W which causes
clang (but not gcc) to turn on these warnings again. As CFLAGS contains
-Wall, the -W option was redundant anyway, so this patch removes it.

Makefile

index 821ccaf033972621f6c9e536aef5f468136b58ea..dc57f3d07d640ffcaf578c317519318f00800a48 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ all: dss
 man: dss.1
 
 DEBUG_CFLAGS ?=
-DEBUG_CFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W
+DEBUG_CFLAGS += -Wno-sign-compare -g -Wunused -Wundef
 DEBUG_CFLAGS += -Wredundant-decls
 CFLAGS ?=
 CFLAGS += -Os