summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/darwin.config3
-rw-r--r--config/ios.config2
2 files changed, 5 insertions, 0 deletions
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'