mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 21:52:39 +00:00
- 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)
11 lines
290 B
Diff
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"))
|
|
{
|