Skip to content

Commit

Permalink
Enable flto=auto in build
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Jul 1, 2024
1 parent a9ad7ea commit 7429d84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platforms/shared/desktop/makefiles/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ DEBUG ?= 0
ifeq ($(DEBUG), 1)
CPPFLAGS +=-DDEBUG -g3
else
CPPFLAGS +=-DNDEBUG -O3 -flto
LDFLAGS += -flto
CPPFLAGS +=-DNDEBUG -O3 -flto=auto
LDFLAGS += -O3 -flto=auto
endif

SANITIZE ?= 0
Expand Down

0 comments on commit 7429d84

Please sign in to comment.