Skip to contentSkip to conversation

iw: fix formats under MIPS64/PPC

PATCH New Rosen Penev 1 participant 1 message Jul 2, 2024 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iw: fix formats under MIPS64/PPC

__SANE_USERSPACE_TYPES__ needs to be defined to get consistent 64-bit type defines and to fix -Wformat warnings.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 17be33f..2652fac 100644
@@ -17,6 +17,7 @@ CFLAGS ?= -O2 -g
 CFLAGS += -Wall -Wextra -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
 CFLAGS += -Werror-implicit-function-declaration -Wsign-compare -Wno-unused-parameter
 CFLAGS += -Wdeclaration-after-statement
+CFLAGS += -D__SANE_USERSPACE_TYPES__
 CFLAGS += $(CFLAGS_EVAL)
 CFLAGS += $(EXTRA_CFLAGS)
 
Signature · 1 line
2.45.2