SHA256
1
0
forked from pool/busybox
busybox/busybox.uClibc-build-fix.patch

18 lines
406 B
Diff

---
scripts/trylink | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -81,7 +81,9 @@ CFLAGS="$3"
LDFLAGS="$4"
O_FILES="$5"
A_FILES="$6"
-LDLIBS="$7"
+# no extra libraries for uClibc linking
+#LDLIBS="$7"
+LDLIBS=
# The --sort-section option is not supported by older versions of ld
SORT_SECTION=`check_cc "-Wl,--sort-section,alignment" ""`