Commit Graph

25 Commits

Author SHA1 Message Date
its-pointless
db75340215 llvm: Update from 5.0.1 to 6.0
Also build our own libomp.
2018-03-20 23:10:53 +01:00
Fredrik Fornwall
a71263bdbb ndk-sysroot: Add missing ; and use , in deb fields 2018-02-15 18:01:55 +01:00
tomty89
7072d99dd7 Ship libgcc in ndk-sysroot and ndk-multilib (#2146) 2018-02-15 17:57:03 +01:00
Tom Yan
aa887f55aa ndk-sysroot: fix typo for LIBATOMIC_PATH 2018-02-15 01:55:39 +01:00
Fredrik Fornwall
831515fc06 ndk-sysroot: Include <omp.h> (fixes #1826) 2017-12-03 13:44:09 +01:00
Fredrik Fornwall
793900beb4 ndk-sysroot: Bump revision after libintl.h update 2017-08-17 01:18:36 +02:00
Fredrik Fornwall
3fb244a3a2 ndk-sysroot: Bump after header patch fix 2017-07-10 10:59:16 +02:00
Fredrik Fornwall
993268c308 Drop -D_FILE_OFFSET_BITS=64 support for now
32-bit android uses 32-bit off_t by default. When building with
-D_FILE_OFFSET_BITS=64 with unified headers off_t are promoted
to 64-bit, but there are bugs in the toolchain and spotty support
for it in the platform (not all functions are available until
android-24, and the platform zlib is compiled with 32-bit off_t).

Also, unless every library&program is rebuilt with 64-bit off_t,
including user-built ones, we risk a mismatch between programs and
libraries which can cause serious (but sometimes subtle) runtime
failures.

As -D_FILE_OFFSET_BITS=64 is not that important for most users
(with mariadb requiring it as an exception), we drop the support
for now by patching it away in <sys/cdefs.h>.
2017-07-07 03:52:46 +02:00
Fredrik Fornwall
4a5fd7241c Fix incorrect struct __sFILE
The __sFILE struct cannot change size when _FILE_OFFSET_BITS=64
is set as it is an API into libc.
2017-07-03 01:27:32 +02:00
Fredrik Fornwall
6f8d07fa94 Remove pty.h from libutil-dev
Instead let ndk-sysroot provide it.
2017-07-02 11:56:40 +02:00
Fredrik Fornwall
f6c72b1a1c ndk-sysroot: Drop revision after NDK update 2017-06-11 23:04:44 +02:00
Fredrik Fornwall
f3e071d2f4 Wrap getpwuid_r (fixes psql history file location) 2017-03-05 13:34:41 +01:00
Fredrik Fornwall
a922c73f42 Reset relevant package revisions after update 2017-03-05 01:34:02 +01:00
Fredrik Fornwall
42562d13b8 ndk_patches: Add a ifaddrs.h polyfill (fixes #338) 2017-02-17 22:33:57 +01:00
Vishal Biswas
c4804ab87a ndk_patches: add patches for sem and shm (#691)
* ndk_patches: add patches for sem and shm

* add #ifdef around syscall stubs for shm.h and sem.h
2017-01-24 10:41:46 +01:00
Fredrik Fornwall
7f5da5d3af ndk: Patch malloc.h to remove clang warnings 2017-01-19 02:49:43 +01:00
Fredrik Fornwall
af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05:00
Fredrik Fornwall
d1f129da2c ndk-sysroot: Reuse existing zlib.pc 2017-01-05 19:02:03 -05:00
Fredrik Fornwall
66f3991fb3 Specify zlib as 1.2.8, not 1.2.3 as ndk claims 2016-11-22 18:51:13 -05:00
Fredrik Fornwall
10526b174a ndk-sysroot: Bundle libatomic.a
Fixes #430.
2016-09-05 14:52:16 -04:00
Fredrik Fornwall
40534bae4b ndk-sysroot: Setup librt&libpthread symlinks
The librt and libpthread libraries are built into libc on Android
and does not exist as separate libraries.

We now set them up as symlinks to libc for compatibility.

Fixes #403.
2016-08-19 09:25:48 -04:00
Fredrik Fornwall
817dedcd67 ndk-sysroot: Bump revision after fd_mask patch 2016-07-24 07:31:35 -04:00
Fredrik Fornwall
1d95577f64 ndk-sysroot: Fix x86-64 build 2016-06-21 19:27:43 -04:00
Fredrik Fornwall
99a8f0589d ndk-sysroot: Depend on libandroid-support-dev
This makes sure that iconv.h and libintl.h are available.
2015-11-13 21:53:24 -05:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00