Skip to content

Commit

Permalink
try targeting OS X 10.9 Mavericks
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 3, 2023
1 parent 3ced7d8 commit 49ad669
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,9 @@ build_single_target() {
if [ "${_HOSTOS}" != "${_OS}" ]; then
_CMAKE_GLOBAL="-DCMAKE_SYSTEM_NAME=Darwin ${_CMAKE_GLOBAL}"
fi
# macOS 10.13 High Sierra 2017-09-25. Seems to work for arm64 builds,
# macOS 10.9 Mavericks 2013-10-22. Seems to work for arm64 builds,
# though arm64 was released in macOS 11.0 Big Sur 2020-11-12.
macminver='10.13'
macminver='10.9'
_CMAKE_GLOBAL="${_CMAKE_GLOBAL} -DCMAKE_OSX_DEPLOYMENT_TARGET=${macminver}"
_CFLAGS_GLOBAL="${_CFLAGS_GLOBAL} -mmacosx-version-min=${macminver}"
_CXXFLAGS_GLOBAL="${_CXXFLAGS_GLOBAL} -mmacosx-version-min=${macminver}"
Expand Down

0 comments on commit 49ad669

Please sign in to comment.