developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame^] | 1 | From ae9f84f0225d8499b43c33ffbc590120f4c9e82e Mon Sep 17 00:00:00 2001 |
| 2 | From: Rosen Penev <rosenp@gmail.com> |
| 3 | Date: Tue, 2 Jul 2024 12:35:44 -0700 |
| 4 | Subject: [PATCH 05/13] iw: fix formats under MIPS64/PPC |
| 5 | |
| 6 | __SANE_USERSPACE_TYPES__ needs to be defined to get consistent 64-bit |
| 7 | type defines and to fix -Wformat warnings. |
| 8 | |
| 9 | Signed-off-by: Rosen Penev <rosenp@gmail.com> |
| 10 | Link: https://lore.kernel.org/r/20240702193544.5984-1-rosenp@gmail.com |
| 11 | Signed-off-by: Johannes Berg <johannes.berg@intel.com> |
| 12 | --- |
| 13 | Makefile | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
| 16 | diff --git a/Makefile b/Makefile |
| 17 | index 17be33f..2652fac 100644 |
| 18 | --- a/Makefile |
| 19 | +++ b/Makefile |
| 20 | @@ -17,6 +17,7 @@ CFLAGS ?= -O2 -g |
| 21 | CFLAGS += -Wall -Wextra -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common |
| 22 | CFLAGS += -Werror-implicit-function-declaration -Wsign-compare -Wno-unused-parameter |
| 23 | CFLAGS += -Wdeclaration-after-statement |
| 24 | +CFLAGS += -D__SANE_USERSPACE_TYPES__ |
| 25 | CFLAGS += $(CFLAGS_EVAL) |
| 26 | CFLAGS += $(EXTRA_CFLAGS) |
| 27 | |
| 28 | -- |
| 29 | 2.18.0 |
| 30 | |