Blame SOURCES/exiv2-0.27.3-fcf-protection.patch

aae32d
diff -up exiv2-0.27.3-Source/cmake/compilerFlags.cmake.fcf-protection exiv2-0.27.3-Source/cmake/compilerFlags.cmake
aae32d
--- exiv2-0.27.3-Source/cmake/compilerFlags.cmake.fcf-protection	2020-06-30 08:33:22.000000000 -0500
aae32d
+++ exiv2-0.27.3-Source/cmake/compilerFlags.cmake	2020-06-30 18:03:38.197967648 -0500
aae32d
@@ -26,7 +26,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Li
aae32d
         # This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0
aae32d
         if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) )
aae32d
             if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
aae32d
-                add_compile_options(-fstack-clash-protection -fcf-protection)
aae32d
+                add_compile_options(-fstack-clash-protection)
aae32d
             endif()
aae32d
 
aae32d
             if( (COMPILER_IS_GCC   AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.0) # Not in GCC 4.8