mirror of
https://github.com/termux/termux-packages.git
synced 2025-10-15 17:14:50 +00:00
Make it so that SDKs for other architectures can be easily installed and used for cross-compilation.
12 lines
582 B
Diff
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.
|