From d7fe7ab63eb7bd66b89716b111550ae4f69cd68f Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 5 Jan 2024 14:45:22 -0800 Subject: [PATCH] Workaround for building with optimizations enabled. Currently causes issues with alignment and inlining of functions that should not be (like string.c memcpy). --- arch.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/arch.mk b/arch.mk index 66151e004..c95cb7a50 100644 --- a/arch.mk +++ b/arch.mk @@ -433,6 +433,7 @@ ifeq ($(TARGET),nxp_t1024) CFLAGS+=-DWOLFSSL_SP_PPC endif SPI_TARGET=nxp + OPTIMIZATION_LEVEL=0 # using default -Os causes issues with alignment endif ifeq ($(TARGET),nxp_t2080)