diff options
author | Austin Seipp <aseipp@pobox.com> | 2018-07-26 18:43:45 -0500 |
---|---|---|
committer | Austin Seipp <aseipp@pobox.com> | 2018-07-26 18:44:49 -0500 |
commit | a14a75a5676a942311976b1c0644a3a803099909 (patch) | |
tree | 972651f931ca9cd1f9956b9e4730684b5c9f1bcf /pkgs/servers/foundationdb | |
parent | 6d2ab189159e9438be83da4ee251e4e620f6730e (diff) |
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>
Diffstat (limited to 'pkgs/servers/foundationdb')
-rw-r--r-- | pkgs/servers/foundationdb/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/servers/foundationdb/default.nix b/pkgs/servers/foundationdb/default.nix index 461b90bc978c..bb0d5e84e789 100644 --- a/pkgs/servers/foundationdb/default.nix +++ b/pkgs/servers/foundationdb/default.nix @@ -85,6 +85,7 @@ let --replace 'LDFLAGS :=' 'LDFLAGS := -ltls -lssl -lcrypto' ''; + separateDebugInfo = true; enableParallelBuilding = true; makeFlags = [ "all" "fdb_java" ] @@ -92,7 +93,9 @@ let # it gets statically linked in ++ lib.optional (!lib.versionAtLeast version "6.0") [ "fdb_c" ] # Needed environment overrides - ++ [ "KVRELEASE=1" ]; + ++ [ "KVRELEASE=1" + "NOSTRIP=1" + ]; # on 6.0 and later, we can specify all this information manually configurePhase = lib.optionalString (lib.versionAtLeast version "6.0") '' |