This commit enables additional compiler warnings. Also, we did not need
-Wno-unused-parameter, so let's enable it again.
Signed-off-by: Michael Adler <
michae...@siemens.com>
---
Makefile.am | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index ba24400..ef18ffd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -23,7 +23,11 @@ efibootguarddir = $(libdir)/efibootguard
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) -include config.h
AM_CFLAGS = \
- -Wno-unused-parameter \
+ -Wall \
+ -Wextra \
+ -pedantic \
+ -Wstrict-prototypes \
+ -Wold-style-definition \
-Wmissing-prototypes \
-fshort-wchar \
-DHAVE_ENDIAN_H \
--
2.41.0