Skip to content

Commit

Permalink
Try to pass CXXFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
pitrou committed Aug 30, 2022
1 parent 657b4cd commit ce0b494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/tasks/conda-recipes/arrow-cpp/build-arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ else
fi

# See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
CMAKE_CXX_FLAGS="-D_LIBCPP_DISABLE_AVAILABILITY"
CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"

cmake \
-DARROW_BOOST_USE_SHARED=ON \
Expand All @@ -57,6 +57,7 @@ cmake \
-DARROW_BUILD_TESTS=OFF \
-DARROW_BUILD_UTILITIES=OFF \
-DBUILD_SHARED_LIBS=ON \
-DARROW_CXXFLAGS=${CXXFLAGS} \
-DARROW_DATASET=ON \
-DARROW_DEPENDENCY_SOURCE=SYSTEM \
-DARROW_FLIGHT=ON \
Expand All @@ -81,7 +82,6 @@ cmake \
-DARROW_WITH_ZLIB=ON \
-DARROW_WITH_ZSTD=ON \
-DCMAKE_BUILD_TYPE=release \
-DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} \
-DCMAKE_CXX_STANDARD=17 \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
Expand Down

0 comments on commit ce0b494

Please sign in to comment.