From 0ed1bbc74ad72fdde711941683168c461fe8b74c Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sat, 11 Apr 2026 01:01:21 +0800 Subject: [PATCH] Fix typo --- src/SPC/util/executor/UnixCMakeExecutor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/util/executor/UnixCMakeExecutor.php b/src/SPC/util/executor/UnixCMakeExecutor.php index d0241f56..e9ffb0e4 100644 --- a/src/SPC/util/executor/UnixCMakeExecutor.php +++ b/src/SPC/util/executor/UnixCMakeExecutor.php @@ -182,7 +182,7 @@ class UnixCMakeExecutor extends Executor $target_arch = arch2gnu(php_uname('m')); $cflags = getenv('SPC_DEFAULT_C_FLAGS'); $cc = getenv('CC'); - $cxx = getenv('CCX'); + $cxx = getenv('CXX'); $include = BUILD_INCLUDE_PATH; logger()->debug("making cmake tool chain file for {$os} {$target_arch} with CFLAGS='{$cflags}'"); $root = BUILD_ROOT_PATH;