diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-27 21:32:54 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-05-24 08:57:22 +0300 |
commit | e9f948c72790136656df6056fd9e3698f360e077 (patch) | |
tree | 5da941393b44b21f2579afd017565f3d1c56be83 /src/util/system.cpp | |
parent | c6d6bc8abb721be68a3d2cdba11ceb5e9814c9b1 (diff) |
build: Convert warnings into errors when testing for -fstack-clash-protection
When building with Clang, if `-fstack-clash-protection` is used with an
unsupported target, it may result in hundreds of
`-Wunused-command-line-argument` warnings at compile time. This is
currently the case when building for at least Darwin using Apple or LLVM
Clang.
Unsupported targets may also include *BSD, however that is changing; see
further discussion in https://reviews.llvm.org/D92245 and
https://reviews.freebsd.org/D27366.
Note that this option is already skipped for Windows.
Diffstat (limited to 'src/util/system.cpp')
0 files changed, 0 insertions, 0 deletions