Skip to content

Commit d646198

Browse files
committed
doc: spliting building steps for unix and macos
Currently, there is an error when executing export: CXX=g++-12 on macOS. Without it, it compiles fine. So, we split the step into two caterogies: steps for unix and steps for macOS Fixes: #58219 Restoring previous BUILDING.md new doc proposal for g++-12 export command removing non related line change restoring end of file restoring comment proposal
1 parent 8ccfcb5 commit d646198

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

BUILDING.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,12 @@ Installation via Linux package manager can be achieved with:
246246

247247
FreeBSD and OpenBSD users may also need to install `libexecinfo`.
248248

249+
If you're getting a warning related to g++ older version, you can use
250+
251+
```bash
252+
export CXX=g++-12
253+
```
254+
249255
#### macOS prerequisites
250256

251257
* Xcode Command Line Tools >= 13 for macOS
@@ -266,7 +272,6 @@ fail.
266272
To build Node.js:
267273

268274
```bash
269-
export CXX=g++-12
270275
./configure
271276
make -j4
272277
```

0 commit comments

Comments
 (0)