Skip to content

Commit 222d157

Browse files
committed
build: 更新 .npmrc,添加 CXXFLAGS 和 CL 的导出配置
1 parent 93498cc commit 222d157

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ shamefully-hoist=true
33
# In CI, CXXFLAGS=-std=c++17 (Linux/macOS) and CL=/std:c++17 (Windows) are
44
# set before `pnpm install` so node-gyp compiles with the correct standard.
55
# For local builds on Linux/macOS you may need:
6-
# export CXXFLAGS="-std=c++17"
6+
export CXXFLAGS="-std=c++17"
7+
# For local builds on Windows you may need:
8+
export CL="/std:c++17"

0 commit comments

Comments
 (0)