From cc022a35b3b69a623592a634e2d5ea06f05ff354 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Tue, 10 Jul 2018 12:50:51 -0600 Subject: [PATCH] remove lto --- setup.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/setup.py b/setup.py index ed9e7731..4ec76938 100755 --- a/setup.py +++ b/setup.py @@ -233,9 +233,6 @@ def init_env( cppflags += shlex.split(os.environ.get('CPPFLAGS', '')) cflags += shlex.split(os.environ.get('CFLAGS', '')) ldflags += shlex.split(os.environ.get('LDFLAGS', '')) - if not debug and not sanitize: - # See https://github.com/google/sanitizers/issues/647 - cflags.append('-flto'), ldflags.append('-flto') if profile: cppflags.append('-DWITH_PROFILER') -- 2.21.0