Add support for --disable-gc-sections for broken toolchains
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 21 Feb 2011 17:13:12 +0000 (17:13 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 26 Apr 2011 17:55:10 +0000 (18:55 +0100)
commit8423a42999ff625a61e43f8acc55a4522ebc8c26
tree3e7d85d3f6953d1a25d2ba58de75a3565b1344e3
parent2040f53bd3f2d48a2d33a737110920c112a28ea4
Add support for --disable-gc-sections for broken toolchains

Also use AC_LINK_IFELSE rather than reinventing it as a shell function.
This was the last user of ld_supports_flag, so, delete it.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33466
Reviewed-by: Colin Walters <walters@verbum.org>
configure.ac