Skip to content

Commit

Permalink
ndk-sysroot-gcc-compact: fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
licy183 committed Nov 9, 2023
1 parent 152867b commit 8da1c5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,14 +286,17 @@ Since commit [1], libcxx assumes that gcc has builtin `__is_nothrow_assignable`
#if _LIBCPP_STD_VER > 14
--- a/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/is_nothrow_assignable.h
+++ b/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/__type_traits/is_nothrow_assignable.h
@@ -10,6 +10,7 @@
@@ -10,7 +10,10 @@
#define _LIBCPP___TYPE_TRAITS_IS_NOTHROW_ASSIGNABLE_H

#include <__config>
+#include <__type_traits/add_const.h>
#include <__type_traits/integral_constant.h>
+#include <__type_traits/is_assignable.h>
+#include <__utility/declval.h>

#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
@@ -18,13 +19,39 @@

_LIBCPP_BEGIN_NAMESPACE_STD
Expand Down
2 changes: 1 addition & 1 deletion tur/ndk-sysroot-gcc-compact/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TERMUX_PKG_MAINTAINER="@licy183"
# Version should be equal to TERMUX_NDK_{VERSION_NUM,REVISION} in
# scripts/properties.sh
TERMUX_PKG_VERSION=26b
TERMUX_PKG_REVISION=4
TERMUX_PKG_REVISION=5
TERMUX_PKG_SRCURL=https://dl.google.com/android/repository/android-ndk-r${TERMUX_PKG_VERSION}-linux.zip
TERMUX_PKG_SHA256=ad73c0370f0b0a87d1671ed2fd5a9ac9acfd1eb5c43a7fbfbd330f85d19dd632
# This package has taken over <pty.h> from the previous libutil-dev
Expand Down

0 comments on commit 8da1c5f

Please sign in to comment.