From 218cce1093b81875762b1490cf2e2d3cc2ac191c Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Mon, 27 Sep 2021 14:16:14 +1000
Subject: Remove LTO


diff --git a/SConstruct b/SConstruct
index 3ae455a..ee9722b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -48,8 +48,8 @@ Help(opts.GenerateHelpText(env))
 # or modify the `flags` variable:
 flags = ["-std=c++11", "-Wall", "-Werror", "-Wold-style-cast"]
 if env["mode"] != "debug":
-	flags += ["-O3", "-flto"]
-	env.Append(LINKFLAGS = ["-O3", "-flto"])
+	flags += ["-O3"]
+	env.Append(LINKFLAGS = ["-O3"])
 if env["mode"] == "debug":
 	flags += ["-g"]
 elif env["mode"] == "profile":
-- 
2.30.2

