From 7421258237b7c8f61629226961af498a0a6e0096 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Thu, 24 Dec 2020 01:23:36 +0100 Subject: [PATCH] 'gcc -c': add options -free -fipa-pta --- makefiles/Makefile.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefiles/Makefile.defs b/makefiles/Makefile.defs index 84e0a7994..bbce1de1a 100644 --- a/makefiles/Makefile.defs +++ b/makefiles/Makefile.defs @@ -24,5 +24,5 @@ OC = $(TOOLS)objcopy OD = $(TOOLS)objdump BUILD ?= build -BUILD_FLAGS += -Wall -Wextra -c -Os -g -Wpointer-arith -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -ffunction-sections -fdata-sections +BUILD_FLAGS += -Wall -Wextra -c -Os -g -free -fipa-pta -Wpointer-arith -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -ffunction-sections -fdata-sections BUILD_DEFINES = -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ -DLWIP_OPEN_SRC -DLWIP_BUILD -DUSE_OPTIMIZE_PRINTF -DTARGET=$(target) -D$(DEFINE_TARGET)=1 -DTCP_MSS=$(TCP_MSS) -DLWIP_FEATURES=$(LWIP_FEATURES) -DLWIP_IPV6=$(LWIP_IPV6)