[C++][Packaging] Consider stricter compiler options
Open
Component: C++
Component: Packaging
Type: enhancement
- Dominant language
- C++
- Stars
- 17.1k
- Forks
- 4.3k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 88
Description
### Describe the enhancement requested
Following the release of the Compiler Options Hardening Guide for C and C++ by the Open Source Security Foundation, we should consider hardening our compiler/linker options where doing so doesn't significantly impede performance:
https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
This would be especially important for the binaries we issue ourselves, such as Python wheels.
### Component(s)
C++, Packaging
Contributor guide
Assessment
This issue has not been assessed yet.