scripts/trylink: fix static build with glibc again. Closes 8471

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2016-03-17 21:37:12 +01:00
parent be729c1d3b
commit 9de318d63e
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ GC_SECTIONS="-Wl,--gc-sections"
if (. ./.config && test x"$CONFIG_STATIC" = x"y") then
if check_libc_is_glibc; then
echo "Static linking against glibc, can't use --gc-sections"
# GC_SECTIONS=""
GC_SECTIONS=""
fi
fi
# The --gc-sections option is not supported by older versions of ld