Check if compiler supports fcf-protection before setting it
Open
- Dominant language
- C++
- Stars
- 194
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
Basically the same as: https://github.com/uxlfoundation/oneTBB/issues/1783
I am currently packaging `xpumanager` for openSUSE Tumbleweed and the build fails on platforms whose compiler does not support `fcf-protection`, like i586.
Would it be possible to check whether the compiler supports the `-fcf-protection` flag before setting it?
Contributor guide
Assessment
This issue has not been assessed yet.