Skip to content

Commit c5be034

Browse files
committed
[docs] Minor doc update for OpenBSD.
Swift uses `ar s`, but LLVM does an `ar` and `ranlib` pass separately. To work around the platform binutils bug, you should use the LLVM version of both these tools, not just `ar`.
1 parent efbfaac commit c5be034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/OpenBSD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ $ ./utils/build-script \
8888

8989
You may wish to also supply the flag `--llvm-targets-to-build=host`, to speed up the LLVM build slightly.
9090

91-
For debug builds especially, consider also installing the `llvm` package and setting `-DCMAKE_AR=/usr/local/bin/llvm-ar` with the `extra-cmake-options` flag, to work around problems creating indexes to archives containing object files with large numbers of section headers.
91+
For debug builds especially, consider also installing the `llvm` package and setting `-DCMAKE_AR=/usr/local/bin/llvm-ar` and `-DCMAKE_RANLIB=/usr/local/bin/llvm-ranlib` with the `extra-cmake-options` flag, to work around problems creating indexes to archives containing object files with large numbers of section headers.

0 commit comments

Comments
 (0)