0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-10-15 17:14:50 +00:00
Files
termux-packages/packages/swift/llvm-project-clang-tools-driver-cc1depscan_main.cpp.patch
Butta e93c1bb648 bump(swift): 5.7.3 to 5.8 and spin off runtime and sdk subpackages
Make it so that SDKs for other architectures can be easily installed and used
for cross-compilation.
2023-04-06 19:57:47 +05:30

12 lines
582 B
Diff

--- a/llvm-project/clang/tools/driver/cc1depscan_main.cpp 2022-08-28 12:37:53.827579690 +0000
+++ b/llvm-project/clang/tools/driver/cc1depscan_main.cpp 2022-08-28 12:39:25.307724796 +0000
@@ -68,7 +68,7 @@
ALWAYS_ENABLED_STATISTIC(NumRequests, "Number of -cc1 update requests");
#ifdef CLANG_HAVE_RLIMITS
-#if defined(__linux__) && defined(__PIE__)
+#if defined(__linux__) && defined(__PIE__) && !defined(__ANDROID__)
static size_t getCurrentStackAllocation() {
// If we can't compute the current stack usage, allow for 512K of command
// line arguments and environment.