aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2018-01-08 14:44:42 -0800
committerDan Albert <danalbert@google.com>2018-01-08 14:44:42 -0800
commit4d1cc9df119e017abb4f71b9198e5024afd2d7ad (patch)
treed985346e036a46931b0c370ed6ed1524279116ba /tools
parent558a4f59237245916d93075eb60ed7d16cf55c42 (diff)
downloadbionic-4d1cc9df119e017abb4f71b9198e5024afd2d7ad.tar.gz
Adapt to the new libc++/libc++abi update.
C++17 removed a handful of things that are used in the libclang headers, which are used by the versioner. Enable the flag that re-exposes these until we have a C++17 compatible libclang. Add a stub posix_memalign to the linker. libc++abi uses posix_memalign when allocating exceptions, which the linker does not use. Test: make checkbuild Bug: None Change-Id: I32f9d0591ef99a610f27efed90a5c9fd150f0d3e
Diffstat (limited to 'tools')
-rw-r--r--tools/versioner/src/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/versioner/src/Android.bp b/tools/versioner/src/Android.bp
index 91516468c..4b237a999 100644
--- a/tools/versioner/src/Android.bp
+++ b/tools/versioner/src/Android.bp
@@ -35,6 +35,8 @@ cc_binary_host {
"-D__STDC_CONSTANT_MACROS",
"-D__STDC_LIMIT_MACROS",
+
+ "-D_LIBCPP_ENABLE_CXX17_REMOVED_BINDERS",
],
target: {