summaryrefslogtreecommitdiffstats
path: root/cmake/modules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-21 02:27:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-21 02:27:13 +0000
commite22f8c6576e87dcfb42d10c71d4b06260ca9f722 (patch)
treea010f9d27fb5769eeaee24d7dcd762a6b0ff87ae /cmake/modules
parentAdding upstream version 18.2.3. (diff)
downloadceph-upstream.tar.xz
ceph-upstream.zip
Adding upstream version 18.2.4.upstream/18.2.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--cmake/modules/BuildArrow.cmake3
1 files changed, 3 insertions, 0 deletions
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.