Support TRACY_NO_LTO build flag.

This commit is contained in:
Graydon Hoare 2022-05-19 23:34:47 -07:00
parent 6233cf3fdf
commit 0d4a4f6d9b
No known key found for this signature in database
GPG Key ID: 69824B014EE65219
5 changed files with 20 additions and 5 deletions

View File

@ -1,4 +1,7 @@
CFLAGS := -O3 -flto
CFLAGS := -O3
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release

View File

@ -1,4 +1,7 @@
CFLAGS := -O3 -flto
CFLAGS := -O3
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release

View File

@ -1,4 +1,7 @@
CFLAGS := -O3 -flto
CFLAGS := -O3
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release

View File

@ -1,4 +1,7 @@
CFLAGS := -O3 -flto
CFLAGS := -O3
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release

View File

@ -1,4 +1,7 @@
CFLAGS := -O3 -flto
CFLAGS := -O3
ifndef TRACY_NO_LTO
CFLAGS += -flto
endif
DEFINES := -DNDEBUG
BUILD := release