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

diff -rub libaom-3.12.1.orig/build/cmake/aom_configure.cmake libaom-3.12.1/build/cmake/aom_configure.cmake
--- libaom-3.12.1.orig/build/cmake/aom_configure.cmake	2025-04-12 04:37:49.000000000 +0800
+++ libaom-3.12.1/build/cmake/aom_configure.cmake	2025-08-05 17:01:20.862061300 +0800
@@ -398,9 +398,6 @@
     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