busybox: enable debug info
This commit is contained in:
parent
481b2c6a24
commit
9b3045bd2a
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,8 @@ stdenv.mkDerivation rec {
|
|||
./busybox-in-store.patch
|
||||
] ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) ./clang-cross.patch;
|
||||
|
||||
separateDebugInfo = true;
|
||||
|
||||
postPatch = "patchShebangs .";
|
||||
|
||||
configurePhase = ''
|
||||
|
@ -120,6 +122,8 @@ stdenv.mkDerivation rec {
|
|||
makeFlagsArray+=("CC=${stdenv.cc.targetPrefix}cc -isystem ${musl.dev}/include -B${musl}/lib -L${musl}/lib")
|
||||
'';
|
||||
|
||||
makeFlags = [ "SKIP_STRIP=y" ];
|
||||
|
||||
postInstall = ''
|
||||
sed -e '
|
||||
1 a busybox() { '$out'/bin/busybox "$@"; }\
|
||||
|
|
Loading…
Reference in a new issue