From 68a94f420f09921bae01a0e74ef0a4758b27c730 Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Thu, 5 Dec 2019 17:17:33 -0800 Subject: [PATCH] nix: actually enables debug symbols in release builds --- nix/pkgs/urbit/release.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/pkgs/urbit/release.nix b/nix/pkgs/urbit/release.nix index 44ce3e29b7..6d0d3b5d36 100644 --- a/nix/pkgs/urbit/release.nix +++ b/nix/pkgs/urbit/release.nix @@ -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;