File libaom-0001-Do-not-disable-_FORTIFY_SOURCE.patch of Package libaom

Index: libaom-3.9.1/build/cmake/aom_configure.cmake
===================================================================
--- libaom-3.9.1.orig/build/cmake/aom_configure.cmake
+++ libaom-3.9.1/build/cmake/aom_configure.cmake
@@ -392,9 +392,6 @@ else()
     add_compiler_flag_if_supported("-Werror")
   endif()
 
-  if(build_type_lowercase MATCHES "rel")
-    add_compiler_flag_if_supported("-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0")
-  endif()
   add_compiler_flag_if_supported("-D_LARGEFILE_SOURCE")
   add_compiler_flag_if_supported("-D_FILE_OFFSET_BITS=64")
 
openSUSE Build Service is sponsored by