Skip to content

Commit dec2653

Browse files
dgarskedanielinux
authored andcommitted
Workaround for building with optimizations enabled. Currently causes issues with alignment and inlining of functions that should not be (like string.c memcpy).
1 parent 83283c6 commit dec2653

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ ifeq ($(TARGET),nxp_t1024)
433433
CFLAGS+=-DWOLFSSL_SP_PPC
434434
endif
435435
SPI_TARGET=nxp
436+
OPTIMIZATION_LEVEL=0 # using default -Os causes issues with alignment
436437
endif
437438

438439
ifeq ($(TARGET),nxp_t2080)

0 commit comments

Comments
 (0)