ndk-patches: disable AT_EACCESS
https://android.googlesource.com/platform/bionic.git/+/refs/tags/ndk-r23b/libc/bionic/faccessat.cpp#50
This commit is contained in:
parent
15f9d29901
commit
369d15f4ef
11
ndk-patches/linux-fcntl.h
Normal file
11
ndk-patches/linux-fcntl.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./usr/include/fcntl.h
|
||||
+++ ./usr/include/fcntl.h
|
||||
@@ -54,7 +54,7 @@
|
||||
#define DN_MULTISHOT 0x80000000
|
||||
#define AT_FDCWD - 100
|
||||
#define AT_SYMLINK_NOFOLLOW 0x100
|
||||
-#define AT_EACCESS 0x200
|
||||
+#define AT_EACCESS 0
|
||||
#define AT_REMOVEDIR 0x200
|
||||
#define AT_SYMLINK_FOLLOW 0x400
|
||||
#define AT_NO_AUTOMOUNT 0x800
|
@ -2,7 +2,7 @@ termux_step_start_build() {
|
||||
TERMUX_STANDALONE_TOOLCHAIN="$TERMUX_COMMON_CACHEDIR/android-r${TERMUX_NDK_VERSION}-api-${TERMUX_PKG_API_LEVEL}"
|
||||
# Bump the below version if a change is made in toolchain setup to ensure
|
||||
# that everyone gets an updated toolchain:
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v2"
|
||||
TERMUX_STANDALONE_TOOLCHAIN+="-v3"
|
||||
|
||||
# shellcheck source=/dev/null
|
||||
source "$TERMUX_PKG_BUILDER_SCRIPT"
|
||||
|
Loading…
Reference in New Issue
Block a user