Commit Graph

33 Commits

Author SHA1 Message Date
Fredrik Fornwall
c7ffebd4ec clang: Add back C_INCLUDE_DIRS (fixes #683) 2017-01-19 08:58:43 +01:00
Fredrik Fornwall
320bee67d1 Call termux_setup_cmake before invoking cmake
This fixes build in an environment (e.g. the Docker image) without
cmake installed.
2017-01-18 04:06:03 +01:00
Fredrik Fornwall
4f4b496674 clang: Add notes about LLVM_LINK_LLVM_DYLIB 2017-01-18 02:39:56 +01:00
Fredrik Fornwall
8dc2f0d66c clang: Add back TERMUX_PKG_FORCE_CMAKE=yes 2017-01-18 02:13:57 +01:00
Fredrik Fornwall
e8df72c0b9 clang: Fix build when python2.7 has been built 2017-01-18 02:09:52 +01:00
Fredrik Fornwall
3265c61278 clang: Setup ${TERMUX_HOST_PLATFORM}-{clang,clang++} symlinks 2017-01-16 11:48:20 +01:00
Vishal Biswas
58f7a21c18 Add support for cmake 3.7 (#660) 2017-01-15 13:48:05 +01:00
Fredrik Fornwall
508fa73cb8 Always call post-extract step in srcdir 2017-01-10 03:14:35 -05:00
Fredrik Fornwall
ae0899e7c4 clang: Only build host {llvm,clang}-tblgen
We only need host binaries for llvm-tblgen and clang-tblgen, so
there is no need building a complete clang build.
2017-01-08 07:59:46 -05:00
Fredrik Fornwall
d1fd5e29d5 clang: Update from 3.9.0 to 3.9.1 2016-12-20 20:34:42 -05:00
Fredrik Fornwall
5187237423 clang: Update from 3.8.1 to 3.9.0 2016-09-04 16:17:03 -04:00
Fredrik Fornwall
9cbdadb1fe clang: Support -nopie flag 2016-08-18 18:25:57 -04:00
Fredrik Fornwall
290517e829 clang: Setup cpp as symlink to clang
The cpp program was missing after the gcc -> clang transition, but
clang implements cpp if invoked by that name.

Fixes #397.
2016-08-16 13:09:51 -04:00
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