diff options
author | Robin Gareus <robin@gareus.org> | 2020-01-21 02:23:51 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-01-25 04:07:41 +0100 |
commit | 1d2cfd6f2d736144b8c81179126b5850a718f769 (patch) | |
tree | aaf9ffaf9d9d5c056ba5b096226a134e2a75ac29 /wscript | |
parent | 19603d075f7013453c79711a646301df694c7b03 (diff) |
Change waf/darwin default compiler to prefer gcc (if available)
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -11,6 +11,13 @@ from waflib.Tools import winres from waflib.Build import Context from waflib.Build import BuildContext +# Fixup OSX 10.5/10.6 builds +# prefer gcc, g++ 4.x over ancient clang-1.5 +from waflib.Tools.compiler_c import c_compiler +from waflib.Tools.compiler_cxx import cxx_compiler +c_compiler['darwin'] = ['gcc', 'clang' ] +cxx_compiler['darwin'] = ['g++', 'clang++' ] + class i18n(BuildContext): cmd = 'i18n' fun = 'i18n' |