Merge pull request #1290 from Exiv2/fix_solaris_stack_protection_0.27

fix_solaris_stack_protection_0.27
main
Robin Mills 5 years ago committed by GitHub
commit bb771e5ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN
if (COMPILER_IS_GCC OR COMPILER_IS_CLANG)
# This fails under Fedora - MinGW - Gcc 8.3
if (NOT MINGW)
if (NOT (MINGW OR CMAKE_HOST_SOLARIS))
check_c_compiler_flag(-fstack-clash-protection HAS_FSTACK_CLASH_PROTECTION)
check_c_compiler_flag(-fcf-protection HAS_FCF_PROTECTION)
check_c_compiler_flag(-fstack-protector-strong HAS_FSTACK_PROTECTOR_STRONG)

Loading…
Cancel
Save