From 2be8b22a741e163c9c2cd7b94257b59896394bfc Mon Sep 17 00:00:00 2001 From: Lena Boeckmann Date: Fri, 7 Oct 2022 11:20:13 +0200 Subject: [PATCH] pkg/cryptoauthlib: Pass ATCA_NO_HEAP Flag to library --- pkg/cryptoauthlib/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/cryptoauthlib/Makefile b/pkg/cryptoauthlib/Makefile index b6eebf6efbdd..19dbb9f06ee8 100644 --- a/pkg/cryptoauthlib/Makefile +++ b/pkg/cryptoauthlib/Makefile @@ -24,6 +24,7 @@ CFLAGS += -Wno-unused-function CFLAGS += -Wno-unused-parameter CFLAGS += -Wno-unused-variable CFLAGS += -Wno-format-nonliteral +CFLAGS += -Wno-maybe-uninitialized TOOLCHAIN_FILE=$(PKG_SOURCE_DIR)/xcompile-toolchain.cmake @@ -40,6 +41,7 @@ cryptoauth: $(PKG_BUILD_DIR)/Makefile $(PKG_BUILD_DIR)/Makefile: $(TOOLCHAIN_FILE) cmake -DCMAKE_TOOLCHAIN_FILE=$(TOOLCHAIN_FILE) \ -Wno-dev \ + -DATCA_NO_HEAP:BOOL=TRUE \ -B$(PKG_BUILD_DIR) \ -H$(PKG_SOURCE_DIR)/lib