tcmode: use -Wl,--as-needed

There's no reason not to make use of it, and it's used by default with the
internal toolchain, so this aligns us closer to that.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2016-03-18 17:06:05 -07:00
parent 47779f4795
commit d075fdc52f

View File

@@ -240,3 +240,6 @@ BUILDCFG_VARS += "EXTERNAL_TOOLCHAIN SOURCERY_VERSION GCC_VERSION"
# Adjust tunings to ensure we're using Sourcery G++ multilibs
require conf/distro/include/sourcery-tuning.inc
# Use -Wl,--as-needed
require conf/distro/include/as-needed.inc