We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db60be2 commit a8ee2edCopy full SHA for a8ee2ed
1 file changed
cpp/cmake_modules/ThirdpartyToolchain.cmake
@@ -4855,6 +4855,9 @@ macro(build_awssdk)
4855
if("s2n-tls" IN_LIST _AWSSDK_LIBS)
4856
set(AWS_LC_C_FLAGS ${EP_C_FLAGS})
4857
string(APPEND AWS_LC_C_FLAGS " -Wno-error=overlength-strings -Wno-error=pedantic")
4858
+ # Link time optimization is causing trouble like #34349
4859
+ string(REPLACE "-flto=auto" "" AWS_LC_C_FLAGS "${AWS_LC_C_FLAGS}")
4860
+ string(REPLACE "-ffat-lto-objects" "" AWS_LC_C_FLAGS "${AWS_LC_C_FLAGS}")
4861
4862
set(AWS_LC_CMAKE_ARGS ${AWSSDK_COMMON_CMAKE_ARGS})
4863
list(APPEND AWS_LC_CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${AWS_LC_PREFIX}
0 commit comments