android: add --build-id to ldflags
the gcc in android does not have this on by default. Doing this will fix some of the errors in cross-trunk: https://hydra.nixos.org/build/76354538/nixlog/11 This is related to how separate debug info is handled in Nixpkgs.
This commit is contained in:
parent
73e2f60837
commit
7652b2ef16
@ -58,6 +58,9 @@ rec {
|
|||||||
binutils = wrapBintoolsWith {
|
binutils = wrapBintoolsWith {
|
||||||
bintools = binaries;
|
bintools = binaries;
|
||||||
libc = targetAndroidndkPkgs.libraries;
|
libc = targetAndroidndkPkgs.libraries;
|
||||||
|
extraBuildCommands = ''
|
||||||
|
echo "--build-id" >> $out/nix-support/libc-ldflags
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
gcc = wrapCCWith {
|
gcc = wrapCCWith {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user