We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b21c622 commit 2cc75ffCopy full SHA for 2cc75ff
sapi/src/template/make.php
@@ -16,7 +16,10 @@
16
PREPARE_ARGS="<?= implode(' ', $this->getPrepareArgs())?>"
17
export LOGICAL_PROCESSORS=<?= trim($this->logicalProcessors). PHP_EOL ?>
18
export CMAKE_BUILD_PARALLEL_LEVEL=<?= $this->maxJob. PHP_EOL ?>
19
-
+<?php if ($this->isMacos()) :?>
20
+# 兼容 最低 macOS 版本
21
+export MACOSX_DEPLOYMENT_TARGET=12.0
22
+<?php endif; ?>
23
export CC=<?= $this->cCompiler . PHP_EOL ?>
24
export CXX=<?= $this->cppCompiler . PHP_EOL ?>
25
export LD=<?= $this->lld . PHP_EOL ?>
0 commit comments