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>
This commit is contained in:
parent
6d2ab18915
commit
a14a75a567
@ -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") ''
|
||||
|
Loading…
Reference in New Issue
Block a user