summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2020-09-11 15:47:19 +0200
committerJean Delvare <jdelvare@suse.de>2020-09-11 16:02:55 +0200
commit96fca5cdb0ec3af15e2b61fadf585b94a482b365 (patch)
tree14354e283dca6a1d75698f3d76a0afb1ab94b579
parent11a1738e83bbb093f22e38ad11ba9f0e73ae9248 (diff)
downloadi2c-tools-git-i2c-tools-3.1.tar.gz
tools: Don't build with -Winlinei2c-tools-3.1
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>
-rw-r--r--CHANGES1
-rw-r--r--tools/Module.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 0a774fc..63a3bca 100644
--- a/CHANGES
+++ b/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
diff --git a/tools/Module.mk b/tools/Module.mk
index 8ad8fc0..8425d75 100644
--- a/tools/Module.mk
+++ b/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