Skip to content

Commit

Permalink
Workaround for building with optimizations enabled. Currently causes …
Browse files Browse the repository at this point in the history
…issues with alignment and inlining of functions that should not be (like string.c memcpy).
  • Loading branch information
dgarske authored and danielinux committed Jan 17, 2024
1 parent 83283c6 commit dec2653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dec2653

Please sign in to comment.