2019-03-31 21:18:58 +02:00
|
|
|
--- a/setup.py
|
|
|
|
+++ b/setup.py
|
2019-05-26 20:04:55 +02:00
|
|
|
@@ -233,9 +233,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
|
|
|
|
- cflags.append('-flto'), ldflags.append('-flto')
|
|
|
|
|
|
|
|
if profile:
|
|
|
|
cppflags.append('-DWITH_PROFILER')
|