Skip to content

Commit

Permalink
Remove LTO flags because it creates artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
fjtrujy committed Dec 18, 2023
1 parent d903dcd commit 7cb1f4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ EE_OBJS := $(EE_OBJS:%=$(EE_OBJS_DIR)%)
EE_DEPS = $($(filter %.o,$(EE_OBJS)):%.o=%.d)

# To help linking getting rid off unused functions and data
EE_CFLAGS += -fdata-sections -ffunction-sections -flto
EE_LDFLAGS += -fdata-sections -ffunction-sections -flto -Wl,--gc-sections
EE_CFLAGS += -fdata-sections -ffunction-sections
EE_LDFLAGS += -fdata-sections -ffunction-sections -Wl,--gc-sections

.SILENT:

Expand Down

0 comments on commit 7cb1f4f

Please sign in to comment.