mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #4232
9e6c7784
CMakeLists.txt: add -mmitigate-rop to security flags if found (moneromooo-monero)
This commit is contained in:
commit
466f079586
1 changed files with 3 additions and 0 deletions
|
@ -578,6 +578,9 @@ else()
|
||||||
add_cxx_flag_if_supported(-fstack-clash-protection CXX_SECURITY_FLAGS)
|
add_cxx_flag_if_supported(-fstack-clash-protection CXX_SECURITY_FLAGS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_c_flag_if_supported(-mmitigate-rop C_SECURITY_FLAGS)
|
||||||
|
add_cxx_flag_if_supported(-mmitigate-rop CXX_SECURITY_FLAGS)
|
||||||
|
|
||||||
# linker
|
# linker
|
||||||
if (NOT WIN32)
|
if (NOT WIN32)
|
||||||
# Windows binaries die on startup with PIE
|
# Windows binaries die on startup with PIE
|
||||||
|
|
Loading…
Reference in a new issue