Skip to content

Commit

Permalink
Merge pull request ceph#55303 from cbodley/wip-63130-debug
Browse files Browse the repository at this point in the history
cmake/arrow: don't treat warnings as errors

Reviewed-by: Leonid Usov <[email protected]>
  • Loading branch information
cbodley authored Jan 26, 2024
2 parents 2b11aa3 + 5c1a57a commit 1112689
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/modules/BuildArrow.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ function(build_arrow)
else()
list(APPEND arrow_CMAKE_ARGS -DCMAKE_BUILD_TYPE=Release)
endif()
# don't add -Werror or debug package builds fail with:
#warning _FORTIFY_SOURCE requires compiling with optimization (-O)
list(APPEND arrow_CMAKE_ARGS -DBUILD_WARNING_LEVEL=PRODUCTION)

# we use an external project and copy the sources to bin directory to ensure
# that object files are built outside of the source tree.
Expand Down

0 comments on commit 1112689

Please sign in to comment.