Skip to content

Commit 8586c32

Browse files
author
Andreas
committed
Fix configuration step for macos
clang is mainly for building c files, while it can build c++ it does not link c++ libraries.
1 parent 00971b8 commit 8586c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/build_instructions/macos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ We advise against using the clang version that comes with macOS (Apple Clang) as
3838
```
3939
# on Intel macOS, llvm is by default in /usr/local/Cellar/llvm/bin/
4040
# on ARM macOS, llvm is by default in /opt/homebrew/Cellar/llvm/bin/
41-
./configure --compiler="$(brew --prefix llvm)/bin/clang" --download-nyan
41+
./configure --compiler="$(brew --prefix llvm)/bin/clang++" --download-nyan
4242
```
4343

4444
Afterwards, trigger the build using `make`:

0 commit comments

Comments
 (0)