linux: pass --gc-sections in link line

We have compile flags set up to support using --gc-sections, but apparently
we aren't using it for the actual link!  It was probably lost during the gyp
conversion.

This has a few-megabyte difference on binary size.

(Trying submit again, hopefully thestig successfully converted bots...)

Review URL: http://codereview.chromium.org/399048

git-svn-id: http://src.chromium.org/svn/trunk/src/build@32330 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
evan@chromium.org 2009-11-18 17:07:13 +00:00
Родитель 5fa5b92de1
Коммит 288dfc2bf3
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -618,6 +618,9 @@
'-fdata-sections',
'-ffunction-sections',
],
'ldflags': [
'-Wl,--gc-sections',
],
},
},
'variants': {