Detect clang first on FreeBSD, NetBSD, etc

This commit is contained in:
Thomas Nagy 2015-12-22 18:19:16 +01:00
parent e1d82be8a5
commit 04449361e8
3 changed files with 4 additions and 4 deletions

4
TODO
View File

@ -11,7 +11,6 @@ Waf 1.9
* Do not cache waf tool detection
* Fix the vala detection
* Better consistency between check_cfg and check_cc variables
* Detect Clang by default on FreeBSD instead of gcc
* Use relative paths in apply_incpaths (and absolute ones when paths cross drives)
* Let run_once accept a list of *args
* Let more context commands depend on the configuration
@ -23,5 +22,6 @@ Done
* Remove the split functions from Utils
* Remove the command called "update"
* Include the tool 'nobuild' by default
* Remove qt4 from the default modules
* Remove qt4 and kde4 from the default modules
* Detect Clang first on many platforms, in particular on FreeBSD

View File

@ -47,7 +47,7 @@ c_compiler = {
'osf1V': ['gcc'],
'gnu': ['gcc', 'clang'],
'java': ['gcc', 'msvc', 'clang', 'icc'],
'default':['gcc', 'clang'],
'default':['clang', 'gcc'],
}
"""
Dict mapping the platform names to Waf tools finding specific C compilers::

View File

@ -48,7 +48,7 @@ cxx_compiler = {
'osf1V': ['g++'],
'gnu': ['g++', 'clang++'],
'java': ['g++', 'msvc', 'clang++', 'icpc'],
'default': ['g++', 'clang++']
'default': ['clang++', 'g++']
}
"""
Dict mapping the platform names to Waf tools finding specific C++ compilers::