diff options
author | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2005-09-10 20:38:45 +0000 |
---|---|---|
committer | khali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0> | 2005-09-10 20:38:45 +0000 |
commit | 01458644bb6e56c2e38a79df56f2700d65f5096c (patch) | |
tree | 5f72dcabc39bbc212407650eb12961517da4061b /Makefile | |
parent | 519874bbdd1924a0c7aff7f4cec180164a319809 (diff) | |
download | lm-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |