8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
13 lines
468 B
Diff
13 lines
468 B
Diff
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -277,10 +277,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')
|