nix: actually enables debug symbols in release builds

This commit is contained in:
Joe Bryan 2019-12-05 17:17:33 -08:00
parent 5eec015343
commit 68a94f420f

View File

@ -21,7 +21,8 @@ in
env.make_derivation {
CFLAGS = if debug then "-O0 -g" else "-O3 -g";
LDFLAGS = if debug then "" else "-s";
# binary stripping disabled
# LDFLAGS = if debug then "" else "-s";
MEMORY_DEBUG = debug;
CPU_DEBUG = debug;
EVENT_TIME_DEBUG = false;