Skip to content

Commit

Permalink
Update r/configure
Browse files Browse the repository at this point in the history
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
  • Loading branch information
assignUser and kou authored Oct 3, 2023
1 parent 2e4d94e commit 14ea558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion r/configure
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ set_pkg_vars () {
PKG_CFLAGS="$PKG_CFLAGS $ARROW_R_CXXFLAGS"
fi

if [ "$UNAME" = "Darwin" ] && [ $(expr `sw_vers -productVersion` : '10\.13' ) -gt 3 ]; then
if [ "$UNAME" = "Darwin" ] && expr $(sw_vers -productVersion) : '10\.13'; then
# avoid C++17 availability warnings on macOS < 11
PKG_CFLAGS="$PKG_CFLAGS -D_LIBCPP_DISABLE_AVAILABILITY"
fi
Expand Down

0 comments on commit 14ea558

Please sign in to comment.