2019-03-31 20:18:58 +01:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2019-05-26 19:04:55 +01:00
|
|
|
@@ -233,9 +233,6 @@ def init_env(
|
2019-03-31 20:18:58 +01: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')
|