mirror of
https://github.com/urbit/shrub.git
synced 2024-11-27 18:34:48 +03:00
nix: actually enables debug symbols in release builds
This commit is contained in:
parent
5eec015343
commit
68a94f420f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user