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