From 1c9823cffd52319dbc98b7699b6c2419b0ad7383 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 10 Sep 2005 20:38:45 +0000 Subject: [PATCH] Compile userspace tools with -W. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3083 7894878c-1315-0410-8ee3-d5d059ff63e0 --- Makefile | 4 ++-- 1 file 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)