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