Skip to content

Commit

Permalink
'gcc -c': add options -free -fipa-pta
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v committed Dec 24, 2020
1 parent e04922b commit 7421258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makefiles/Makefile.defs
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 7421258

Please sign in to comment.