mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-03 08:21:29 +02:00
doc: fix compiler flags for macOS configuration
This commit is contained in:
parent
d4cc0c6845
commit
8d7f8fabae
@ -60,7 +60,7 @@ brew install llvm
|
|||||||
And append the following to the configure commands below:
|
And append the following to the configure commands below:
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
|
-DCMAKE_C_COMPILER="$(brew --prefix llvm)/bin/clang" -DCMAKE_CXX_COMPILER="$(brew --prefix llvm)/bin/clang++"
|
||||||
```
|
```
|
||||||
|
|
||||||
Try `llvm@17` if compilation fails with the default version of llvm.
|
Try `llvm@17` if compilation fails with the default version of llvm.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user