summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2005-09-10 20:38:45 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2005-09-10 20:38:45 +0000
commit01458644bb6e56c2e38a79df56f2700d65f5096c (patch)
tree5f72dcabc39bbc212407650eb12961517da4061b /Makefile
parent519874bbdd1924a0c7aff7f4cec180164a319809 (diff)
downloadlm-sensors-01458644bb6e56c2e38a79df56f2700d65f5096c.tar.gz
Compile userspace tools with -W.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3083 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c197cec5..6f178c3c 100644
--- a/Makefile
+++ b/Makefile
@@ -206,7 +206,7 @@ ALL_CFLAGS += -O2
endif
ifeq ($(WARN),1)
-ALL_CFLAGS += -W -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
+ALL_CFLAGS += -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings -Wnested-externs -Winline
endif
@@ -255,7 +255,7 @@ kbuild_2_4_nostdinc := -nostdinc $(shell LC_ALL=C $(CC) -print-search-dirs | sed
MODCPPFLAGS += -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -fomit-frame-pointer $(ALL_CPPFLAGS) -I$(LINUX_HEADERS) $(kbuild_2_4_nostdinc)
MODCFLAGS += $(ALL_CFLAGS)
PROGCPPFLAGS := -DETCDIR="\"$(ETCDIR)\"" $(ALL_CPPFLAGS) -Wundef
-PROGCFLAGS := $(ALL_CFLAGS)
+PROGCFLAGS := $(ALL_CFLAGS) -W
ARCPPFLAGS := $(ALL_CPPFLAGS)
ARCFLAGS := $(ALL_CFLAGS)
LIBCPPFLAGS := $(ALL_CPPFLAGS)