2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
13 lines
468 B
Diff
13 lines
468 B
Diff
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -287,10 +287,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')
|