summaryrefslogtreecommitdiff
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:32:45 +0200
commitefaaa0d49943bea19678261380a2a56980a4fdb0 (patch)
treee23b41862cccba02d59d746c710bca5794ce24b9
parente94e1c717046644d82e9ed0c424769be2657bdac (diff)
config: Workaround getcwd issue on OSX 10.11
See https://openradar.appspot.com/22671534 for more details
-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'