Currently it only installs the gold linker if it is not installed at all. Version 2.20 is needed to complete a Release build and if the contributor has version 2.19, the gold linker will not be updated.
The checkin gets the version number of ld. It checks if the version is gold and if it has the correct version number. Review URL: http://codereview.chromium.org/547021 Patch from brianlum@chromium.org. git-svn-id: http://src.chromium.org/svn/trunk/src/build@36042 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
b3bbbe9dcc
Коммит
074920e79e
|
@ -239,7 +239,7 @@ fi
|
|||
# So just install from source if it isn't the default linker.
|
||||
|
||||
case `ld --version` in
|
||||
*gold*) ;;
|
||||
*gold*2.2*) ;;
|
||||
* )
|
||||
echo "Gold is a new linker that links Chrome 5x faster than ld."
|
||||
echo "Don't use it if you need to link other apps (e.g. valgrind, wine)"
|
||||
|
|
Загрузка…
Ссылка в новой задаче