From 96fca5cdb0ec3af15e2b61fadf585b94a482b365 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 11 Sep 2020 15:47:19 +0200 Subject: [PATCH] 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 --- CHANGES | 1 + tools/Module.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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