From d075fdc52f5b6a52e2f2e53e6f0a2408568ad2a2 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 18 Mar 2016 17:06:05 -0700 Subject: [PATCH] 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 --- conf/distro/include/tcmode-external-sourcery.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index 0dbe7c5..8769ed0 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -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