Remove debug code from release mode

This commit is contained in:
Chris Lee
2019-07-12 22:47:07 -07:00
parent 784edaccd2
commit 22ce7c5427
4 changed files with 39 additions and 30 deletions

3
packaging/configure vendored
View File

@@ -420,7 +420,8 @@ if args.asan or args.memory_tracing or args.tracing:
trace_flags = ['-O0',
'-fno-common',
'-fno-omit-frame-pointer',
'-rdynamic']
'-rdynamic',
'-DUSE_REAL_MALLOC']
CFLAGS += trace_flags
LFLAGS += trace_flags + ['-fuse-ld=gold']