Butta
5 years ago
committed by
Leonid Plyushch
2 changed files with 23 additions and 23 deletions
@ -1,7 +1,7 @@ |
|||
TERMUX_PKG_HOMEPAGE=https://github.com/apple/swift-llbuild |
|||
TERMUX_PKG_DESCRIPTION="A low-level build system, used by the Swift Package Manager" |
|||
TERMUX_PKG_LICENSE="Apache-2.0, NCSA" |
|||
TERMUX_PKG_VERSION=0.1.1 |
|||
TERMUX_PKG_SRCURL=https://github.com/apple/swift-llbuild/archive/${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_SHA256=8f04c76dcc65bd47e197574998b30dfef1eab10a81aba704b605d12bd9c31b68 |
|||
TERMUX_PKG_VERSION=5.1 |
|||
TERMUX_PKG_SRCURL=https://github.com/apple/swift-llbuild/archive/swift-${TERMUX_PKG_VERSION}-RELEASE.tar.gz |
|||
TERMUX_PKG_SHA256=cbd228619d1172f7f6d38983f0419226baa1cfbecc6afac891856fcb46ba4920 |
|||
TERMUX_PKG_DEPENDS="libc++, libandroid-spawn, libsqlite" |
|||
|
@ -1,36 +1,36 @@ |
|||
diff --git a/include/llvm/Config/config.h b/include/llvm/Config/config.h
|
|||
index f1fe468..18a2bd6 100644
|
|||
index 9cf1c89..9af2945 100644
|
|||
--- a/include/llvm/Config/config.h
|
|||
+++ b/include/llvm/Config/config.h
|
|||
@@ -23,7 +23,9 @@
|
|||
#endif |
|||
@@ -14,7 +14,9 @@
|
|||
#define ENABLE_CRASH_OVERRIDES 1 |
|||
|
|||
/* Define to 1 if you have the `backtrace' function. */ |
|||
+#if !defined(__ANDROID__)
|
|||
#define HAVE_BACKTRACE 1 |
|||
#define HAVE_BACKTRACE TRUE |
|||
+#endif
|
|||
|
|||
/* Define to 1 if you have the <cxxabi.h> header file. */ |
|||
#define HAVE_CXXABI_H 1 |
|||
@@ -53,7 +55,9 @@
|
|||
#define HAVE_ERRNO_H 1 |
|||
#define BACKTRACE_HEADER <execinfo.h> |
|||
|
|||
/* Define to 1 if you have the <execinfo.h> header file. */ |
|||
+#if !defined(__ANDROID__)
|
|||
#define HAVE_EXECINFO_H 1 |
|||
+#endif
|
|||
@@ -74,7 +76,11 @@
|
|||
/* #undef HAVE_FFI_H */ |
|||
|
|||
/* Define to 1 if you have the <fcntl.h> header file. */ |
|||
#define HAVE_FCNTL_H 1 |
|||
@@ -62,7 +66,11 @@
|
|||
#define HAVE_FUTIMES 1 |
|||
|
|||
/* Define to 1 if you have the `futimens' function */ |
|||
/* Define to 1 if you have the `futimens' function. */ |
|||
+#if defined(__ANDROID__)
|
|||
+#define HAVE_FUTIMENS 1
|
|||
+#else
|
|||
/* #undef HAVE_FUTIMENS */ |
|||
+#endif
|
|||
|
|||
/* Define to 1 if you have the `getpagesize' function. */ |
|||
#define HAVE_GETPAGESIZE 1 |
|||
/* Define to 1 if you have the `futimes' function. */ |
|||
#define HAVE_FUTIMES 1 |
|||
@@ -104,7 +110,9 @@
|
|||
#define HAVE_LIBPTHREAD 1 |
|||
|
|||
/* Define to 1 if you have the `pthread_getname_np' function. */ |
|||
+#if !defined(__ANDROID__)
|
|||
#define HAVE_PTHREAD_GETNAME_NP 1 |
|||
+#endif
|
|||
|
|||
/* Define to 1 if you have the `pthread_setname_np' function. */ |
|||
#define HAVE_PTHREAD_SETNAME_NP 1 |
|||
|
Loading…
Reference in new issue