2019-03-31 21:18:58 +02:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2020-03-24 12:05:05 +01:00
|
|
|
@@ -277,10 +277,6 @@ def init_env(
|
2019-03-31 21:18:58 +02: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
|
2020-03-24 12:05:05 +01:00
|
|
|
- cflags.append('-flto')
|
|
|
|
- ldflags.append('-flto')
|
2019-03-31 21:18:58 +02:00
|
|
|
|
|
|
|
if profile:
|
|
|
|
cppflags.append('-DWITH_PROFILER')
|