Skip to content

Commit 195f479

Browse files
committed
Remove extra LDFLAGS when building simulator
1 parent 1d7744d commit 195f479

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

arch.mk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,9 +1030,6 @@ ifeq ($(TARGET),sim)
10301030
BOOT_IMG=test-app/image.elf
10311031
CFLAGS+=-DARCH_SIM
10321032
CFLAGS+=-DWOLFBOOT_USE_STDLIBC
1033-
ifeq ($(USE_GCC),1)
1034-
LDFLAGS+=-Wl,-gc-sections -Wl,-Map=wolfboot.map
1035-
endif
10361033
ifeq ($(FORCE_32BIT),1)
10371034
CFLAGS+=-m32
10381035
LDFLAGS+=-m32

0 commit comments

Comments
 (0)