enable useful compiler warnings via -Wall
authorAndre Heider <a.heider@gmail.com>
Wed, 23 Nov 2022 13:11:31 +0000 (14:11 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Dec 2022 19:07:27 +0000 (20:07 +0100)
There's no reason not to.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Makefile

index 71b26d86bc8bcdeccdaca11b6775f2278917beeb..adb9e73cf2eabbff30a1cbdfcea19a0e355f4658 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 IWINFO_SOVERSION   = $(if $(SOVERSION),$(SOVERSION),0)
 
 IWINFO_BACKENDS    = $(BACKENDS)
-IWINFO_CFLAGS      = $(CFLAGS) -std=gnu99 -fstrict-aliasing -Iinclude
+IWINFO_CFLAGS      = $(CFLAGS) -Wall -std=gnu99 -fstrict-aliasing -Iinclude
 IWINFO_LDFLAGS     = -luci -lubox -lubus
 
 IWINFO_LIB         = libiwinfo.so