Browse Source

tools: Don't build with -Winline

The inlining issues are never going to be fixed in this branch, so
there is no point in flooding the build with these warnings.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
i2c-tools-3.1
Jean Delvare 5 years ago
parent
commit
96fca5cdb0
  1. 1
      CHANGES
  2. 2
      tools/Module.mk

1
CHANGES

@ -2,6 +2,7 @@ i2c-tools CHANGES
-----------------
3.1.3 (work in progress)
Makefile: Don't build tools with -Winline
tools: Fix potential buffer overflows in i2cbusses
eeprog: Increase delay after writes
decode-dimms: Correctly check for out-of-bounds vendor ID

2
tools/Module.mk

@ -10,7 +10,7 @@
TOOLS_DIR := tools
TOOLS_CFLAGS := -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual \
-Wcast-align -Wwrite-strings -Wnested-externs -Winline \
-Wcast-align -Wwrite-strings -Wnested-externs \
-W -Wundef -Wmissing-prototypes -Iinclude
TOOLS_TARGETS := i2cdetect i2cdump i2cset i2cget

Loading…
Cancel
Save