From a51df1fd30a1a5bdf313615afdb375e71fbcdb12 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Tue, 9 Feb 2021 17:09:33 +0100 Subject: [PATCH] pkg/cn-cbor: ignore return local address warning This warning is triggered with gcc 10 on riscv and make the build to fail --- pkg/cn-cbor/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cn-cbor/Makefile b/pkg/cn-cbor/Makefile index 2d9bac4869..0f82a08045 100644 --- a/pkg/cn-cbor/Makefile +++ b/pkg/cn-cbor/Makefile @@ -7,6 +7,7 @@ include $(RIOTBASE)/pkg/pkg.mk # Enable code forcing aligned reads CFLAGS += -DCBOR_ALIGN_READS +CFLAGS += -Wno-return-local-addr all: "$(MAKE)" -C $(PKG_SOURCE_DIR)/src -f $(RIOTBASE)/Makefile.base MODULE=$(PKG_NAME)