mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 10:27:46 +08:00
docs: remove OpenSSL section from README (#10186)
This commit is contained in:
parent
89a476948b
commit
4f303d3208
10
README.md
10
README.md
@ -88,7 +88,6 @@ Before opening an issue, consider using one of the following locations to ensure
|
||||
- [Install Go](#install-go)
|
||||
- [Download and Compile IPFS](#download-and-compile-ipfs)
|
||||
- [Cross Compiling](#cross-compiling)
|
||||
- [OpenSSL](#openssl)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [Getting Started](#getting-started)
|
||||
- [Usage](#usage)
|
||||
@ -327,15 +326,6 @@ Compiling for a different platform is as simple as running:
|
||||
make build GOOS=myTargetOS GOARCH=myTargetArchitecture
|
||||
```
|
||||
|
||||
##### OpenSSL
|
||||
|
||||
To build go-ipfs with OpenSSL support, append `GOTAGS=openssl` to your `make` invocation. Building with OpenSSL should significantly reduce the background CPU usage on nodes that frequently make or receive new connections.
|
||||
|
||||
Note: OpenSSL requires CGO support and, by default, CGO is disabled when cross-compiling. To cross-compile with OpenSSL support, you must:
|
||||
|
||||
1. Install a compiler toolchain for the target platform.
|
||||
2. Set the `CGO_ENABLED=1` environment variable.
|
||||
|
||||
#### Troubleshooting
|
||||
|
||||
- Separate [instructions are available for building on Windows](docs/windows.md).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user