Skip to content

Commit

Permalink
Makefile: add -flto to LDFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Oct 13, 2023
1 parent 5f0fefa commit de78585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ CXXFLAGS := -std=c++17 \
-I$(THIRDPARTY_DIR)/zlib \
-I$(THIRDPARTY_DIR)/zlib/contrib/minizip

LDFLAGS := -s
LDFLAGS := -flto -s

OBJECT_FILES = \
$(SOURCE_DIR)/main.o \
Expand Down

0 comments on commit de78585

Please sign in to comment.