summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorEdward Hervey <edward@centricular.com>2015-10-13 11:31:26 +0200
committerEdward Hervey <bilboed@bilboed.com>2015-10-13 11:31:26 +0200
commitc7e484284b856afb83e9fe89a42d32b8a3ec36d2 (patch)
tree1bdab8fb9dc49bbdad048db8c76359a50b7afb43 /config
parent417ff869cd4817990d04f967b31222263ea586ce (diff)
config: Workaround getcwd issue on OSX 10.11
See https://openradar.appspot.com/22671534 for more details
Diffstat (limited to 'config')
-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'