|
|
@ -562,6 +562,9 @@ else()
|
|
|
|
add_c_flag_if_supported(-fstack-protector-strong C_SECURITY_FLAGS)
|
|
|
|
add_c_flag_if_supported(-fstack-protector-strong C_SECURITY_FLAGS)
|
|
|
|
add_cxx_flag_if_supported(-fstack-protector-strong CXX_SECURITY_FLAGS)
|
|
|
|
add_cxx_flag_if_supported(-fstack-protector-strong CXX_SECURITY_FLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|