Skip to content

Commit

Permalink
Update macosx-version-min to 11 aka 'Big Sur' (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel authored Dec 14, 2023
1 parent 28c2c82 commit 87c8325
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -6047,11 +6047,11 @@ origLDFLAGS="${LDFLAGS}"
CPPFLAGS="${origCPPFLAGS} ${TILEDB_INCLUDE}"
LDFLAGS="${origLDFLAGS} ${TILEDB_LIBS} ${TILEDB_RPATH}"

## Take care of 10.14 requirement for Intel macOS
## Take care of 11 (aka 'Big Sur') requirement for Intel macOS, automatic on arm
if test x"${uname}" = x"Darwin" -a x"${machine}" = x"x86_64"; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Darwin x86_64 use minimum version override" >&5
printf %s "checking for Darwin x86_64 use minimum version override... " >&6; }
CXX17_MACOS="-mmacosx-version-min=10.14"
CXX17_MACOS="-mmacosx-version-min=11"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${CXX17_MACOS}" >&5
printf "%s\n" "${CXX17_MACOS}" >&6; }
fi
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ origLDFLAGS="${LDFLAGS}"
CPPFLAGS="${origCPPFLAGS} ${TILEDB_INCLUDE}"
LDFLAGS="${origLDFLAGS} ${TILEDB_LIBS} ${TILEDB_RPATH}"

## Take care of 10.14 requirement for Intel macOS
## Take care of 11 (aka 'Big Sur') requirement for Intel macOS, automatic on arm
if test x"${uname}" = x"Darwin" -a x"${machine}" = x"x86_64"; then
AC_MSG_CHECKING([for Darwin x86_64 use minimum version override])
CXX17_MACOS="-mmacosx-version-min=10.14"
CXX17_MACOS="-mmacosx-version-min=11"
AC_MSG_RESULT([${CXX17_MACOS}])
fi

Expand Down

0 comments on commit 87c8325

Please sign in to comment.