mirror of
https://github.com/sheumann/hush.git
synced 2024-05-28 21:41:30 +00:00
scripts/trylink: fix static build with glibc again. Closes 8471
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
be729c1d3b
commit
9de318d63e
|
@ -111,7 +111,7 @@ GC_SECTIONS="-Wl,--gc-sections"
|
||||||
if (. ./.config && test x"$CONFIG_STATIC" = x"y") then
|
if (. ./.config && test x"$CONFIG_STATIC" = x"y") then
|
||||||
if check_libc_is_glibc; then
|
if check_libc_is_glibc; then
|
||||||
echo "Static linking against glibc, can't use --gc-sections"
|
echo "Static linking against glibc, can't use --gc-sections"
|
||||||
# GC_SECTIONS=""
|
GC_SECTIONS=""
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# The --gc-sections option is not supported by older versions of ld
|
# The --gc-sections option is not supported by older versions of ld
|
||||||
|
|
Loading…
Reference in New Issue
Block a user