Commit Graph

5 Commits

Author SHA1 Message Date
Butta
14cc620016 [android] A few tweaks for native compilation and to get more tests working
Now that CMAKE_HOST_SYSTEM_NAME and CMAKE_SYSTEM_NAME are set by default to
Android in the Termux app, make the needed tweaks. Some tests were adapted
to work natively on Android too, adds sys/cdefs.h to the Bionic modulemap,
and includes the start of native Android platform support in the build-script.
2019-12-07 01:01:59 +05:30
Daniel Rodríguez Troitiño
f77e2835f0 [android] Link against math library for Bionic.
The Bionic modulemap was missing the autolinking information against
libm, so using the module math functions might have hit undefined
symbols (it was happening in TestDecimal in Foundation for me). The line
is present in the Linux glibc.modulemap, but was not there for Android
Bionic modulemap.
2019-08-26 17:32:51 -07:00
Vlad Gorloff
28d1fb65b7 Android Mac Cross-compile: Fixes issue "ld.gold: error: cannot find -lutil". 2019-06-13 23:57:18 +02:00
Daniel Rodríguez Troitiño
770bba91bd [android] Fix Bionic modulemap file syntax.
A line was forgotten in the rewrite which break the Android builds.
2019-05-29 11:04:42 -07:00
Saleem Abdulrasool
d48220dd62 Platform: attempt to split out the bionic modulemap
This splits out the bionic modulemap from the glibc modulemap.  They are
sufficiently different that the duplication is worth it.  Furthermore,
it will enable properly identifying the libc on android.  Once fully
detangled, this will enable the use of bionic on non-android platforms.
2019-05-27 12:34:27 -07:00