Fredrik Fornwall
160874611f
Always export CMAKE_INSTALL_ALWAYS=1 for cmake builds
8 years ago
Fredrik Fornwall
c7ffebd4ec
clang: Add back C_INCLUDE_DIRS ( fixes #683 )
8 years ago
Fredrik Fornwall
320bee67d1
Call termux_setup_cmake before invoking cmake
This fixes build in an environment (e.g. the Docker image) without
cmake installed.
8 years ago
Fredrik Fornwall
4f4b496674
clang: Add notes about LLVM_LINK_LLVM_DYLIB
8 years ago
Fredrik Fornwall
8dc2f0d66c
clang: Add back TERMUX_PKG_FORCE_CMAKE=yes
8 years ago
Fredrik Fornwall
e8df72c0b9
clang: Fix build when python2.7 has been built
8 years ago
Fredrik Fornwall
3265c61278
clang: Setup ${TERMUX_HOST_PLATFORM}-{clang,clang++} symlinks
8 years ago
Vishal Biswas
58f7a21c18
Add support for cmake 3.7 ( #660 )
8 years ago
Fredrik Fornwall
508fa73cb8
Always call post-extract step in srcdir
8 years ago
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.
8 years ago
Fredrik Fornwall
d1fd5e29d5
clang: Update from 3.9.0 to 3.9.1
8 years ago
Fredrik Fornwall
5187237423
clang: Update from 3.8.1 to 3.9.0
8 years ago
Fredrik Fornwall
9cbdadb1fe
clang: Support -nopie flag
8 years ago
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 .
8 years ago
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 .
8 years ago
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.
9 years ago
Fredrik Fornwall
eb6225f1cd
clang: Update from 3.8.0 to 3.8.1
9 years ago
Fredrik Fornwall
4936e55714
clang: Use X86 as target arch for x86-64
9 years ago
Fredrik Fornwall
8f36e264a8
clang: Fix arm build to target armv7 ( fixes #282 )
9 years ago
Fredrik Fornwall
0b4923cdcf
clang: Depend on ndk-stl and remove triplet mess
9 years ago
Fredrik Fornwall
f48d46ddd8
clang: float=hard -> float=softfp for arm
9 years ago
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.
9 years ago
Fredrik Fornwall
3e902b5f00
clang: Depend on libgcc ( fixes #72 )
9 years ago
Fredrik Fornwall
6e1eae49c0
clang: Update from 3.7.1 to 3.8.0
9 years ago
Fredrik Fornwall
10b7af443d
clang: Remove workaround not needed in NDK r11
9 years ago
Fredrik Fornwall
fce29be57d
clang: Update from 3.7 to 3.7.1
9 years ago
Fredrik Fornwall
88b27cc6bd
clang: Fix aarch64 build
9 years ago
Fredrik Fornwall
f01cc586d2
Add disabled patch to clang
9 years ago
robertvalik
e7344047e4
fixed some non-ascii chars in build scripts
9 years ago
Fredrik Fornwall
e34d841360
Update clang to 3.7.0
9 years ago
Fredrik Fornwall
d9efe0dedc
clang: Depend on binutils for the linker
10 years ago
Fredrik Fornwall
e41b40984a
clang: Update from 3.6.1 to 3.6.2
10 years ago
Fredrik Fornwall
b1c725d5b2
clang: Use symlinks, not hardlinks
10 years ago
Fredrik Fornwall
59f0d218a6
Initial push
10 years ago