Remove extra LDFLAGS when building simulator

pull/510/head
Daniele Lacamera 2024-10-30 15:54:43 +01:00
parent 1d7744d2e1
commit 195f479920
1 changed files with 0 additions and 3 deletions

View File

@ -1030,9 +1030,6 @@ ifeq ($(TARGET),sim)
BOOT_IMG=test-app/image.elf
CFLAGS+=-DARCH_SIM
CFLAGS+=-DWOLFBOOT_USE_STDLIBC
ifeq ($(USE_GCC),1)
LDFLAGS+=-Wl,-gc-sections -Wl,-Map=wolfboot.map
endif
ifeq ($(FORCE_32BIT),1)
CFLAGS+=-m32
LDFLAGS+=-m32