mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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 {
|
||||
bintools = binaries;
|
||||
libc = targetAndroidndkPkgs.libraries;
|
||||
extraBuildCommands = ''
|
||||
echo "--build-id" >> $out/nix-support/libc-ldflags
|
||||
'';
|
||||
};
|
||||
|
||||
gcc = wrapCCWith {
|
||||
|
Loading…
Reference in New Issue
Block a user