This is an automated email from the ASF dual-hosted git repository.

jim pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 8bee043  Allow for more recent SDKs
8bee043 is described below

commit 8bee0436109ca0a0d4a76de3d8ef80a40ddaaba1
Author: Jim Jagielski <[email protected]>
AuthorDate: Wed Sep 30 09:23:41 2020 -0400

    Allow for more recent SDKs
---
 main/configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/configure.ac b/main/configure.ac
index 4134e3b..efaa80e 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -1154,7 +1154,7 @@ case "$build_os" in
                   CC="`xcrun -f clang` -arch x86_64"
                fi
                if test ! -n "$CXX"; then
-                  CXX="`xcrun -f clang++` -arch x86_64"
+                  CXX="`xcrun -f clang++` -stdlib=libc++ -arch x86_64"
                fi
                # Don't use OSVERSION until we know no conflicts result from it
                _darwin_version="`uname -r | $AWK -F . '{ print $1 }'`"
@@ -3943,7 +3943,7 @@ if test  "$_os" = "Darwin"; then
       MACOSX_DEPLOYMENT_TARGET=$sdk_target
 
       dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?)
-      sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx10.(7|8|10|11)" | 
sed -e "s/.*sdk //" | tail -n1`
+      sdk_found=`xcodebuild -showsdks | $EGREP "sdk 
macosx10.(7|8|10|11|12|13|14|15)" | sed -e "s/.*sdk //" | tail -n1`
       if test -z "$sdk_found"; then
          AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
       else

Reply via email to