From e22f8c6576e87dcfb42d10c71d4b06260ca9f722 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 21 Aug 2024 04:27:13 +0200 Subject: Adding upstream version 18.2.4. Signed-off-by: Daniel Baumann --- cmake/modules/BuildArrow.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake') diff --git a/cmake/modules/BuildArrow.cmake b/cmake/modules/BuildArrow.cmake index 691108a40..8a16b9b88 100644 --- a/cmake/modules/BuildArrow.cmake +++ b/cmake/modules/BuildArrow.cmake @@ -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. -- cgit v1.2.3