From c7e484284b856afb83e9fe89a42d32b8a3ec36d2 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 13 Oct 2015 11:31:26 +0200 Subject: config: Workaround getcwd issue on OSX 10.11 See https://openradar.appspot.com/22671534 for more details --- config/darwin.config | 3 +++ config/ios.config | 2 ++ 2 files changed, 5 insertions(+) (limited to 'config') diff --git a/config/darwin.config b/config/darwin.config index b0ccf99b..9e8f6354 100644 --- a/config/darwin.config +++ b/config/darwin.config @@ -95,3 +95,6 @@ if use_ccache: comp = os.environ.get('CXX', 'clang++') if not 'ccache' in comp: os.environ['CXX'] = 'ccache ' + comp + +# Workaround for https://openradar.appspot.com/22671534 on 10.11. +os.environ['gl_cv_func_getcwd_abort_bug'] = 'no' diff --git a/config/ios.config b/config/ios.config index 39281973..598bdee4 100644 --- a/config/ios.config +++ b/config/ios.config @@ -136,3 +136,5 @@ os.environ['ac_cv_func__NSGetEnviron'] = 'no' # For pixman os.environ['ac_cv_tls'] = 'none' +# Workaround for https://openradar.appspot.com/22671534 on 10.11. +os.environ['gl_cv_func_getcwd_abort_bug'] = 'no' -- cgit v1.2.3