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