You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ji...@apache.org on 2020/12/05 17:07:54 UTC

[openoffice] branch AOO42X updated: This is the default for later clangs on macOS, but not all. So force it anyway.

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

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


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 7805e67  This is the default for later clangs on macOS, but not all. So force it anyway.
7805e67 is described below

commit 7805e6744cbac1cf2772aaaa12d660ca2f35d84f
Author: Jim Jagielski <ji...@gmail.com>
AuthorDate: Sat Dec 5 12:07:21 2020 -0500

    This is the default for later clangs on macOS, but not all. So force it anyway.
---
 main/configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/configure.ac b/main/configure.ac
index ac50bf6..f6203f3 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -1158,7 +1158,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 }'`"