summaryrefslogtreecommitdiff
path: root/media-libs/libaom/files/libaom-3.14.1-allow-fortify-source.patch
blob: 133e6acba64727425bd58355d2099c195f5e4771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fortification is an important security feature.
--- a/cmake/aom_configure.cmake
+++ b/cmake/aom_configure.cmake
@@ -389,9 +389,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")
 endif()