From c4346f7db12fe48c8d4c43e54b6df53cb692173f Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sun, 7 Nov 2021 15:28:23 +0100 Subject: [PATCH] pkg/openwsn: add -Wno-cast-align Also sort flags alphabetically --- pkg/openwsn/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/openwsn/Makefile b/pkg/openwsn/Makefile index 1f35f761ed..20b1dcb707 100644 --- a/pkg/openwsn/Makefile +++ b/pkg/openwsn/Makefile @@ -29,6 +29,7 @@ OPENWSN_MODULES := $(filter-out $(IGNORE_MODULES),$(filter openwsn_%,$(USEMODULE OPENWSN_LOG_LEVEL ?= LOG_NONE CFLAGS += -Wno-array-bounds +CFLAGS += -Wno-cast-align CFLAGS += -Wno-implicit-fallthrough CFLAGS += -Wno-implicit-function-declaration CFLAGS += -Wno-incompatible-pointer-types @@ -36,8 +37,8 @@ CFLAGS += -Wno-maybe-uninitialized CFLAGS += -Wno-old-style-definition CFLAGS += -Wno-return-type CFLAGS += -Wno-sign-compare -CFLAGS += -Wno-unused-parameter CFLAGS += -Wno-strict-prototypes +CFLAGS += -Wno-unused-parameter CFLAGS += -DLOG_LEVEL=$(OPENWSN_LOG_LEVEL) OPENWSN_PATH_openstack = openstack