mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-30 01:28:53 +00:00
Add a patch to gcc-4.3.2 to fix building shared core compiler for SuperH.
/trunk/patches/gcc/4.3.2/370-sh-no-libc.patch | 12 12 0 0 ++++++++++++ 1 file changed, 12 insertions(+)
This commit is contained in:
parent
a0c6dea176
commit
3d8001821e
12
patches/gcc/4.3.2/370-sh-no-libc.patch
Normal file
12
patches/gcc/4.3.2/370-sh-no-libc.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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 \
|
Loading…
Reference in New Issue
Block a user