about summary refs log tree commit diff
path: root/pkgs/development/androidndk-pkgs
AgeCommit message (Collapse)AuthorFilesLines
2019-06-16treewide: remove unused variables (#63177)volth2-3/+2
* treewide: remove unused variables * making ofborg happy
2019-04-20cc-wrapper: make machine configuration configurableMatthew Bauer1-20/+1
It is useful to make these dynamic and not bake them into gcc. This means we don’t have to rebuild gcc to change these values. Instead, we will pass cflags to gcc based on platform values. This was already done hackily for android gcc (which is multi-target), but not for our own gccs which are single target. To accomplish this, we need to add a few things: - add ‘arch’ to cpu - add NIX_CFLAGS_COMPILE_BEFORE flag (goes before args) - set -march everywhere - set mcpu, mfpu, mmode, and mtune based on targetPlatform.gcc flags cc-wrapper: only set -march when it is in the cpu type Some architectures don’t have a good mapping of -march. For instance POWER architecture doesn’t support the -march flag at all! https://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html#RS_002f6000-and-PowerPC-Options
2019-04-16androidndk-pkgs: Remove -mfloat flagKen Micklas1-1/+0
2019-04-10systems: remove android armv5te platformMatthew Bauer1-1/+1
this isn’t useful any more because the ndk we use no longer supports it.
2019-04-10androidndk: fixup messMatthew Bauer1-52/+49
New android ndk (18) now uses clang. We were going through the wrapper that are provided. This lead to surprising errors when building. Ideally we could use the llvm linker as well, but this leads to errors as many packages don’t support the llvm linker.
2019-04-10androidndk-pkgs: Fix cc-wrapper flagsKen Micklas1-2/+1
(cherry picked from commit 5f4bf240f51124ffa19a5fa0ac48bf144768d9ff)
2018-12-19Remove redundant chmodSander van der Burg1-2/+1
2018-12-18Initial attempt to restore Android NDK cross buildingSander van der Burg2-38/+43
2018-12-18Separate androidndkpkgs from androidenvSander van der Burg2-0/+162