Add compiler flags necessary to build on Fedora

* Add compiler flags to the boringssl build step to suppress gcc errors
raised when compiling with gcc 12+, which is present in Fedora. It is not
clear whether this is a compiler bug or a boringssl bug, however the
errors only appear when building in release mode and with gcc 12, so I
don't see any problem with manually supressing them.
* Add documentation for building on Fedora.
This commit is contained in:
lwthiker
2022-05-20 17:46:56 +03:00
parent 41986464c4
commit f51620327a
2 changed files with 9 additions and 2 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ curl-impersonate-chrome https://www.wikipedia.org
Install dependencies:
```
yum groupinstall "Development Tools"
yum install cmake cmake3 python3 python3-pip
yum groupinstall "C Development Tools and Libraries" # Fedora only
yum install cmake3 python3 python3-pip
# Install Ninja. This may depend on your system.
yum install ninja-build
# OR