From 9c0d54f5961fc9a4a92e9eef5bf663a1f1681fb5 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 13:14:19 +0000 Subject: Apply patch exiv2-0.27.3-fcf-protection.patch patch_name: exiv2-0.27.3-fcf-protection.patch present_in_specfile: true location_in_specfile: 1 --- diff --git a/cmake/compilerFlags.cmake b/cmake/compilerFlags.cmake index 0418aa6..257eb98 100644 --- a/cmake/compilerFlags.cmake +++ b/cmake/compilerFlags.cmake @@ -26,7 +26,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN # This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0 if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) ) if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0) - add_compile_options(-fstack-clash-protection -fcf-protection) + add_compile_options(-fstack-clash-protection) endif() if( (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.0) # Not in GCC 4.8