Merge pull request #4232

9e6c7784 CMakeLists.txt: add -mmitigate-rop to security flags if found (moneromooo-monero)
release-v0.5.1
Riccardo Spagni 6 years ago
commit 466f079586
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -578,6 +578,9 @@ else()
add_cxx_flag_if_supported(-fstack-clash-protection CXX_SECURITY_FLAGS)
endif()
add_c_flag_if_supported(-mmitigate-rop C_SECURITY_FLAGS)
add_cxx_flag_if_supported(-mmitigate-rop CXX_SECURITY_FLAGS)
# linker
if (NOT WIN32)
# Windows binaries die on startup with PIE

Loading…
Cancel
Save