assignUser commented on code in PR #39524: URL: https://github.com/apache/arrow/pull/39524#discussion_r1446676384
########## cpp/cmake_modules/ThirdpartyToolchain.cmake: ########## @@ -4846,7 +4846,8 @@ macro(build_awssdk) set(AWS_LC_C_FLAGS ${EP_C_FLAGS}) string(APPEND AWS_LC_C_FLAGS " -Wno-error=overlength-strings -Wno-error=pedantic") # Link time optimization is causing trouble like #34349 - string(REPLACE "-flto=auto" "" AWS_LC_C_FLAGS "${AWS_LC_C_FLAGS}") + # "-flto" and "-flto=10" are added by R with --enable/use-lto see #39523 + string(REPLACE "-flto[^ ]*" "" AWS_LC_C_FLAGS "${AWS_LC_C_FLAGS}") Review Comment: oh wait, I think I know why this is happening, let me check. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org