From 195f4799203aaa2550109cc072cbd6bf628a820e Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 30 Oct 2024 15:54:43 +0100 Subject: [PATCH] Remove extra LDFLAGS when building simulator --- arch.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch.mk b/arch.mk index 666e97f0..af5f279d 100644 --- a/arch.mk +++ b/arch.mk @@ -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