mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 21:22:27 +00:00
10 lines
276 B
Diff
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"))
|
|
{
|