projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be729c1
)
scripts/trylink: fix static build with glibc again. Closes 8471
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 17 Mar 2016 20:37:12 +0000
(21:37 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 17 Mar 2016 20:37:12 +0000
(21:37 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/trylink
patch
|
blob
|
history
diff --git
a/scripts/trylink
b/scripts/trylink
index 357aa62771799163b15c732906ed911d79cc1083..6e1187ed091e54c90cf274f5ca92c8141d240345 100755
(executable)
--- a/
scripts/trylink
+++ b/
scripts/trylink
@@
-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