mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-21 19:51:45 +00:00
Compile userspace tools with -W.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3083 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
2c0ca7852a
commit
1c9823cffd
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user