diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2020-08-23 21:40:42 +0200 |
---|---|---|
committer | Michal Kubecek <mkubecek@suse.cz> | 2020-08-27 10:52:16 +0200 |
commit | 257d90cd946699c0951b670576d2d63a12b92541 (patch) | |
tree | 651ed3ae092f27470ebf015a593ff1de6b0ce873 | |
parent | 0c43dec5cf64aee41bbd4195c96671032ea6556d (diff) | |
download | ethtool-257d90cd946699c0951b670576d2d63a12b92541.tar.gz |
build: add -Wextra to default CFLAGS
As a result of previous commits, ethtool source now builds with gcc
versions 7-11 without any compiler warning with "-Wall -Wextra". Add
"-Wextra" to default cflags to make sure that any new warnings are
caught as early as possible.
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 38dde09..aca0ad7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -AM_CFLAGS = -Wall +AM_CFLAGS = -Wall -Wextra AM_CPPFLAGS = -I$(top_srcdir)/uapi LDADD = -lm |