Commit Graph

12 Commits

Author SHA1 Message Date
Fredrik Fornwall 6c29aaa1c7 Transition from gnustl to libc++
This will make things as std::to_string() and other C++ features
work with a modern and supported C++ library.

We package up libc++_shared.so and bump the revision of every C++
using package to make it rebuild against it.

Users who have built C++ using libraries or programs will probably
need to rebuild them if they are linked against Termux-supplied
libraries, as user code was previously linked against gnustl while
the system libraries are now using libc++, and it's not a good idea
to mix C++ standard libraries in a program.
2017-07-14 00:23:37 +02:00
Fredrik Fornwall 4addbd2816 libgnustl: Drop revision after NDK update 2017-06-11 23:20:18 +02:00
Fredrik Fornwall 09c4ed7316 libgnustl: Fix broken stripped library on aarch64
Fixes #823.
2017-03-07 00:34:55 +01:00
Fredrik Fornwall a922c73f42 Reset relevant package revisions after update 2017-03-05 01:34:02 +01:00
Fredrik Fornwall af4dc416ed s/TERMUX_PKG_BUILD_REVISION/TERMUX_PKG_REVISION/ 2017-01-11 01:21:42 -05: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 ca6dcf19f2 libgnustl: Fix x86-64 build 2016-06-16 18:39:17 -04:00
Fredrik Fornwall 9fa59b1c25 libgnustl: float=hard -> float=softfp for arm 2016-05-18 18:49:08 -04:00
Fredrik Fornwall 344b88f958 libgnustl: Symlink libstdc++ -> libgnustl_shared
This is used during building to get a fully-featured C++ standard
library by default.
2016-05-18 16:21:39 -04:00
Fredrik Fornwall e3b2052e7f libgnustl: Revert back to hard-float on arm
Fixes #245.
2016-05-02 00:49:49 -04:00
Fredrik Fornwall 4c96d3fbe5 libgnustl: Install as $PREFIX/lib/libstdc++.so
This will make C++ programs link to a working C++ library by
default, so that -lgnustl_shared no longer is necessary.
2016-04-29 08:14:51 -04:00
Fredrik Fornwall 59f0d218a6 Initial push 2015-06-13 01:03:31 +02:00