Skip to content

Commit

Permalink
Make : simpler checks for LTO availability
Browse files Browse the repository at this point in the history
  • Loading branch information
vsonnier committed Jun 29, 2024
1 parent 7cf09be commit 64b4cba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Quake/common.make
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@ CFLAGS += -g
DO_STRIP=
else
DFLAGS += -DNDEBUG
CFLAGS += -O3
ifndef W64DEVKIT
CFLAGS += -flto=auto
endif
CFLAGS += -O3
CFLAGS += $(call CHECK_GCC,-flto=auto,)
CFLAGS += $(call CHECK_GCC,-fweb,)
CFLAGS += $(call CHECK_GCC,-frename-registers,)
CFLAGS += $(call CHECK_GCC,-fno-asynchronous-unwind-tables,)
Expand Down

0 comments on commit 64b4cba

Please sign in to comment.