git.iko.soy/typeable/nixpkgs
on master help sign in
foundationdb: include debug info in all builds

This puts the debug information in a separate output, as expected. This allows meaningful symbol names to appear in DWARF-based tools like perf and gdb. Signed-off-by: Austin Seipp <aseipp@pobox.com>

commita14a75a5676a942311976b1c0644a3a803099909 authorAustin Seipp <aseipp@pobox.com> dateThu 26 Jul 2018, 18:43 (8 years ago) parent6d2ab18
1 file changed+4−1
pkgs/servers/foundationdb/default.nix+4−1
pkgs/servers/foundationdb/default.nix+4−1
@@ -85,6 +85,7 @@ let
8585 --replace 'LDFLAGS :=' 'LDFLAGS := -ltls -lssl -lcrypto'
8686 '';
8787
88+ separateDebugInfo = true;
8889 enableParallelBuilding = true;
8990
9091 makeFlags = [ "all" "fdb_java" ]
@@ -92,7 +93,9 @@ let
9293 # it gets statically linked in
9394 ++ lib.optional (!lib.versionAtLeast version "6.0") [ "fdb_c" ]
9495 # Needed environment overrides
95− ++ [ "KVRELEASE=1" ];
96+ ++ [ "KVRELEASE=1"
97+ "NOSTRIP=1"
98+ ];
9699
97100 # on 6.0 and later, we can specify all this information manually
98101 configurePhase = lib.optionalString (lib.versionAtLeast version "6.0") ''