1
1
Форкнуть 0

Don't set "-fstack-clash-protection" option on Windows

Signed-off-by: Carlo Bramini <carlo_bramini@users.sourceforge.net>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Этот коммит содержится в:
Carlo Bramini 2022-02-05 13:05:40 +00:00 коммит произвёл Jakub Jelen
родитель 79ad989cf4
Коммит b4d532b809
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -85,9 +85,11 @@ if (UNIX)
endif()
endif (WITH_STACK_PROTECTOR_STRONG)
check_c_compiler_flag_ssp("-fstack-clash-protection" WITH_STACK_CLASH_PROTECTION)
if (WITH_STACK_CLASH_PROTECTION)
list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-clash-protection")
if (NOT WINDOWS AND NOT CYGWIN)
check_c_compiler_flag_ssp("-fstack-clash-protection" WITH_STACK_CLASH_PROTECTION)
if (WITH_STACK_CLASH_PROTECTION)
list(APPEND SUPPORTED_COMPILER_FLAGS "-fstack-clash-protection")
endif()
endif()
if (PICKY_DEVELOPER)