0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-31 21:22:27 +00:00
termux-packages/packages/libpluto/src-vendor-Soup-build_common.php.patch
2024-12-02 13:19:02 +05:30

10 lines
276 B
Diff

+++ ./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 -DSOUP_USE_INTRIN -O3 -ffunction-sections -fdata-sections";
if (defined("PHP_WINDOWS_VERSION_MAJOR"))
{