mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Change waf/darwin default compiler to prefer gcc (if available)
This commit is contained in:
parent
19603d075f
commit
1d2cfd6f2d
1 changed files with 7 additions and 0 deletions
7
wscript
7
wscript
|
|
@ -11,6 +11,13 @@ from waflib.Tools import winres
|
||||||
from waflib.Build import Context
|
from waflib.Build import Context
|
||||||
from waflib.Build import BuildContext
|
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):
|
class i18n(BuildContext):
|
||||||
cmd = 'i18n'
|
cmd = 'i18n'
|
||||||
fun = 'i18n'
|
fun = 'i18n'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue