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

commit 3f8266ee72744971a220c2d4edfb61bb50b8fe22
Author: Jim Jagielski <[email protected]>
AuthorDate: Thu Jan 21 08:56:48 2021 -0500

    Force SDKROOT for initial clang runs to work w/ Xcode 12.x
    
    (cherry picked from commit 4869649e5eea75c9c3bd26b832efa4fe754ab118)
---
 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