Skip to content

Commit

Permalink
WOLFBOOT_USE_STDLIBC gated behind USE_GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
danielinux committed Oct 30, 2024
1 parent 4743ec0 commit dbf32e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1029,12 +1029,13 @@ ifeq ($(TARGET),sim)
LD_END_GROUP=
BOOT_IMG=test-app/image.elf
CFLAGS+=-DARCH_SIM
CFLAGS+=-DWOLFBOOT_USE_STDLIBC
LDFLAGS +=-Wl,-gc-sections -Wl,-Map=wolfboot.map
ifeq ($(USE_GCC),1)
CFLAGS+=-DWOLFBOOT_USE_STDLIBC
endif
LDFLAGS+=-Wl,-gc-sections -Wl,-Map=wolfboot.map
ifeq ($(FORCE_32BIT),1)
CFLAGS+=-m32
LDFLAGS+=-m32

endif
ifeq ($(SPMATH),1)
MATH_OBJS += ./lib/wolfssl/wolfcrypt/src/sp_c32.o
Expand Down

0 comments on commit dbf32e6

Please sign in to comment.