Pass -fstack-protector-strong to linker

Fixes some older compiler / platform combinations (e.g. GCC7 on PPC Mac)
main
Evan Miller 4 years ago committed by GitHub
parent d92b0a6717
commit 7700f90786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,6 +48,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN
endif()
if(BUILD_WITH_STACK_PROTECTOR AND HAS_FSTACK_PROTECTOR_STRONG)
add_compile_options(-fstack-protector-strong)
add_link_options(-fstack-protector-strong)
endif()
endif()

Loading…
Cancel
Save