crosstool-ng/patches/gcc/4.3.2/370-sh-no-libc.patch

13 lines
608 B
Diff
Raw Normal View History

diff -durN gcc-4.3.2.orig/libgcc/config/sh/t-linux gcc-4.3.2/libgcc/config/sh/t-linux
--- gcc-4.3.2.orig/libgcc/config/sh/t-linux 2009-03-07 11:42:38.000000000 +0100
+++ gcc-4.3.2/libgcc/config/sh/t-linux 2009-03-07 11:03:39.000000000 +0100
@@ -15,7 +15,7 @@
-Wl,--soname=@shlib_base_name@.so.1 \
-Wl,--version-script=@shlib_map_file@ \
-o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ \
- @shlib_objs@ -lc && \
+ @shlib_objs@ && \
rm -f @multilib_dir@/@shlib_base_name@.so && \
if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then \
mv -f @multilib_dir@/@shlib_base_name@.so.1 \