[git commit branch/1_24_stable] scripts/trylink: fix static build with glibc again. Closes 8471

Denys Vlasenko vda.linux at googlemail.com
Thu Mar 17 20:37:12 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=9de318d63eea6bba71490eae9c5d07b81cc91752
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/1_24_stable

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 scripts/trylink | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/trylink b/scripts/trylink
index 357aa62..6e1187e 100755
--- 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


More information about the busybox-cvs mailing list