git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commit7652b2ef16375ed1e38056c69da4125b0c25c3f2 authorMatthew Bauer <mjbauer95@gmail.com> dateSun 24 Jun 2018, 16:33 (8 years ago) parent73e2f60
1 file changed+3
pkgs/development/mobile/androidenv/androidndk-pkgs.nix+3
pkgs/development/mobile/androidenv/androidndk-pkgs.nix+3
@@ -58,6 +58,9 @@ rec {
5858 binutils = wrapBintoolsWith {
5959 bintools = binaries;
6060 libc = targetAndroidndkPkgs.libraries;
61+ extraBuildCommands = ''
62+ echo "--build-id" >> $out/nix-support/libc-ldflags
63+ '';
6164 };
6265
6366 gcc = wrapCCWith {