2020-04-24 23:36:52 +00:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2020-06-15 15:56:04 +00:00
|
|
|
@@ -287,10 +287,6 @@ def init_env(
|
2020-04-24 23:36:52 +00:00
|
|
|
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')
|