summarylogtreecommitdiffstats
path: root/brotliFlag.patch
blob: f6523537c47d1cf53cf9780a6a756e418457a3ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/cmake/targets/BuildBrotli.cmake b/cmake/targets/BuildBrotli.cmake
index f9bc8d9601..8d9bfaf956 100644
--- a/cmake/targets/BuildBrotli.cmake
+++ b/cmake/targets/BuildBrotli.cmake
@@ -7,12 +7,6 @@ register_repository(
     v1.1.0
 )
 
-# Tests fail with "BrotliDecompressionError" when LTO is enabled
-# only on Linux x64 (non-baseline). It's a mystery.
-if(LINUX AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|X86_64|x64|X64|amd64|AMD64" AND NOT ENABLE_BASELINE)
-  set(BROTLI_CMAKE_ARGS "-DCMAKE_C_FLAGS=-fno-lto")
-endif()
-
 register_cmake_command(
   TARGET
     brotli