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 4869649  Force SDKROOT for initial clang runs to work w/ Xcode 12.x
4869649 is described below

commit 4869649e5eea75c9c3bd26b832efa4fe754ab118
Author: Jim Jagielski <jim...@gmail.com>
AuthorDate: Thu Jan 21 08:56:48 2021 -0500

    Force SDKROOT for initial clang runs to work w/ Xcode 12.x
---
 main/configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/configure.ac b/main/configure.ac
index f624c40..39dbd6c 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -1154,6 +1154,7 @@ case "$build_os" in
                   echo "Disabling gtk-quickstarter - not supported on Mac. Use 
--disable-systray" >>warn
                   enable_systray=no
                fi
+               SDKROOT="`xcrun --sdk macosx --show-sdk-path`"
                if test ! -n "$CC"; then
                   CC="`xcrun -f clang` -arch x86_64"
                fi

Reply via email to