diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-17 21:37:12 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-03-17 21:37:12 +0100 |
commit | 9de318d63eea6bba71490eae9c5d07b81cc91752 (patch) | |
tree | 4835a7597ef76ad0ba4026b3259e5253a736f5b9 | |
parent | be729c1d3b5c923f10871dd68ea94156d0f8c803 (diff) | |
download | busybox-w32-9de318d63eea6bba71490eae9c5d07b81cc91752.tar.gz busybox-w32-9de318d63eea6bba71490eae9c5d07b81cc91752.tar.bz2 busybox-w32-9de318d63eea6bba71490eae9c5d07b81cc91752.zip |
scripts/trylink: fix static build with glibc again. Closes 8471
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rwxr-xr-x | scripts/trylink | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trylink b/scripts/trylink index 357aa6277..6e1187ed0 100755 --- a/scripts/trylink +++ b/scripts/trylink | |||
@@ -111,7 +111,7 @@ GC_SECTIONS="-Wl,--gc-sections" | |||
111 | if (. ./.config && test x"$CONFIG_STATIC" = x"y") then | 111 | if (. ./.config && test x"$CONFIG_STATIC" = x"y") then |
112 | if check_libc_is_glibc; then | 112 | if check_libc_is_glibc; then |
113 | echo "Static linking against glibc, can't use --gc-sections" | 113 | echo "Static linking against glibc, can't use --gc-sections" |
114 | # GC_SECTIONS="" | 114 | GC_SECTIONS="" |
115 | fi | 115 | fi |
116 | fi | 116 | fi |
117 | # The --gc-sections option is not supported by older versions of ld | 117 | # The --gc-sections option is not supported by older versions of ld |