Default to MAC_OS_X_VERSION_MIN_REQUIRED=1080 for Mac OS X SDK >= 10.8

Desktop / LibreOffice - Stephan Bergmann [redhat.com] - 11 September 2014 05:09 UTC

...esp. after aba0106926ceb337035cf46611ff0d590a2af28b "Always build 64-bit code for OS X" combined with the fact that the TDF 64-bit builds state 10.8 as a minimum requirement.

For a build with SDK >= 10.8 and no explicit --with-macosx-version-min-required, this also enforces libc++ instead of libstdc++, which is a prerequisite for future use of more C++11 features.

###

diff --git a/configure.ac b/configure.ac
index 7119839..48e2490 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2830,8 +2830,10 @@ if test $_os = Darwin; then
case $with_macosx_sdk in
10.5)
with_macosx_version_min_required="10.5";;
- *)
+ 10.6|10.7)
with_macosx_version_min_required="10.6";;
+ *)
+ with_macosx_version_min_required="10.8";;
esac
fi

ab819ab Default to MAC_OS_X_VERSION_MIN_REQUIRED=1080 for Mac OS X SDK >= 10.8
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share