Files
termux-packages/packages/libpluto/src-vendor-Soup-build_common.php.patch
termux-pacman-bot 8b1452271b bump(main/libpluto): 0.12.1
- Fixes https://github.com/termux/termux-packages/issues/26126

> [!WARNING]
> robertkirkman has detected the presence of [CRLF line endings](https://en.wikipedia.org/wiki/Newline#Issues_with_different_newline_formats) in this software.
> Unfortunately, CRLF is something that robertkirkman is unable to work effectively with, so robertkirkman must always use the `dos2unix`
command to purge all instances of CRLF from their projects before doing
anything else, and unfortunately robertkirkman cannot develop in the
same repositories as users who need to use CRLF.
> If this is not acceptable to other maintainers of the `libpluto`
package, then unfortunately robertkirkman cannot directly help maintain the `libpluto` package (but CRLF users are free to copy and paste robertkirkman's patches, convert them back to CRLF, and use them in any way they like)
2025-10-14 16:41:21 +00:00

11 lines
290 B
Diff

--- a/src/vendor/Soup/build_common.php
+++ b/src/vendor/Soup/build_common.php
@@ -1,6 +1,6 @@
<?php
// Config
-$clang = $argv[1] ?? "clang";
+$clang = getenv("CXX");
$clang .= " -std=c++17 -fno-rtti -O3 -ffunction-sections -fdata-sections";
if (defined("PHP_WINDOWS_VERSION_MAJOR"))
{