Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@pobox.com>2022-05-20 09:34:47 +0300
committerGraydon Hoare <graydon@pobox.com>2022-05-20 09:40:27 +0300
commit0d4a4f6d9bb6a2f3b1f1cb1b0316187f0f0a2a12 (patch)
treea2bd932620add136941351d647324082cd023e3a /csvexport
parent6233cf3fdfb7ce1332626724e53a1449676a9715 (diff)
Support TRACY_NO_LTO build flag.
Diffstat (limited to 'csvexport')
-rw-r--r--csvexport/build/unix/release.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/csvexport/build/unix/release.mk b/csvexport/build/unix/release.mk
index e70f36d4..ccf07661 100644
--- a/csvexport/build/unix/release.mk
+++ b/csvexport/build/unix/release.mk
@@ -1,4 +1,7 @@
-CFLAGS := -O3 -flto
+CFLAGS := -O3
+ifndef TRACY_NO_LTO
+CFLAGS += -flto
+endif
DEFINES := -DNDEBUG
BUILD := release