Skip to content

Commit

Permalink
set _LIBCPP_DISABLE_AVAILABILITY on osx-64
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 15, 2023
1 parent 2dfe626 commit 2cbd0a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions recipe/build-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ if [[ "$CONDA_BUILD_CROSS_COMPILATION" == 1 ]]; then

popd
)
elif [[ "${target_platform}" == osx-* ]]; then
# See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
fi

mkdir -p build-cpp
Expand Down

0 comments on commit 2cbd0a0

Please sign in to comment.