Commit Graph

20 Commits

Author SHA1 Message Date
Fredrik Fornwall
768ce14ecc Replace gcc with clang
Only clang has official support for Android, and trying to maintain
a working gcc will only get messier over time.

Remove gcc and g++ packages, and setup gcc and g++ as symlinks to
clang.

Let clang replace gcc, but note that 'apt dist-upgrade' needs to
be run once if a user has both clang and gcc installed.

Fixes #369.
2016-08-11 09:27:40 -04:00
Fredrik Fornwall
3f300a10fc Setup libstdc++.so -> libgnustl_shared.so early
Let build-package.sh setup the $PREFIX/lib/libstdc++.so symlink
before building any package, to make sure that all C++ applications
link against a fully featured C++ standard library.

Avoid explicitly declaring a dependency on the libgnustl package
since everyone may link against it at will and instead mark it as
essential.
2016-08-10 19:45:41 -04:00
Fredrik Fornwall
eb6225f1cd clang: Update from 3.8.0 to 3.8.1 2016-07-14 17:57:44 -04:00
Fredrik Fornwall
4936e55714 clang: Use X86 as target arch for x86-64 2016-06-19 19:31:32 -04:00
Fredrik Fornwall
8f36e264a8 clang: Fix arm build to target armv7 (fixes #282) 2016-05-22 14:55:03 -04:00
Fredrik Fornwall
0b4923cdcf clang: Depend on ndk-stl and remove triplet mess 2016-05-21 17:10:33 -04:00
Fredrik Fornwall
f48d46ddd8 clang: float=hard -> float=softfp for arm 2016-05-18 18:50:47 -04:00
Fredrik Fornwall
0b371c4273 clang: Some improvements
- Link to libgnustl_shared.so by default for C++.
- Setup 'cc' and 'c++' as symlinks to clang.
- Use hard-float ABI om arm by default.
2016-05-02 14:46:39 -04:00
Fredrik Fornwall
3e902b5f00 clang: Depend on libgcc (fixes #72) 2016-03-20 18:53:27 -04:00
Fredrik Fornwall
6e1eae49c0 clang: Update from 3.7.1 to 3.8.0 2016-03-10 18:20:12 -05:00
Fredrik Fornwall
10b7af443d clang: Remove workaround not needed in NDK r11 2016-03-10 10:04:11 -05:00
Fredrik Fornwall
fce29be57d clang: Update from 3.7 to 3.7.1 2016-01-10 18:02:44 -05:00
Fredrik Fornwall
88b27cc6bd clang: Fix aarch64 build 2016-01-05 09:15:12 -05:00
Fredrik Fornwall
f01cc586d2 Add disabled patch to clang 2015-12-13 19:10:44 -05:00
robertvalik
e7344047e4 fixed some non-ascii chars in build scripts 2015-10-11 10:11:08 +02:00
Fredrik Fornwall
e34d841360 Update clang to 3.7.0 2015-09-04 11:09:19 -04:00
Fredrik Fornwall
d9efe0dedc clang: Depend on binutils for the linker 2015-08-11 10:03:52 -04:00
Fredrik Fornwall
e41b40984a clang: Update from 3.6.1 to 3.6.2 2015-08-02 09:38:43 -04:00
Fredrik Fornwall
b1c725d5b2 clang: Use symlinks, not hardlinks 2015-07-08 21:38:29 -04:00
Fredrik Fornwall
59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00