Skip to content

Commit

Permalink
feat: Enable LTO
Browse files Browse the repository at this point in the history
This uses "fat" binaries, so normal builds won't break, but also includes the LTO data for builds that wish to use it
  • Loading branch information
ashquarky committed Nov 22, 2024
1 parent eb96979 commit c6e2f45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ INCLUDES := include
#---------------------------------------------------------------------------------
CFLAGS := -g -Wall -Werror -save-temps \
-ffunction-sections -fdata-sections \
-flto -ffat-lto-objects \
$(MACHDEP) \
$(BUILD_CFLAGS)

Expand Down

0 comments on commit c6e2f45

Please sign in to comment.