diff options
Diffstat (limited to 'toolchain/gcc/3.4.5')
-rw-r--r-- | toolchain/gcc/3.4.5/100-uclibc-conf.patch | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/toolchain/gcc/3.4.5/100-uclibc-conf.patch b/toolchain/gcc/3.4.5/100-uclibc-conf.patch index 6bc73a427..00ea4eeb5 100644 --- a/toolchain/gcc/3.4.5/100-uclibc-conf.patch +++ b/toolchain/gcc/3.4.5/100-uclibc-conf.patch @@ -1,3 +1,11 @@ +--- gcc-3.4.1/gcc/config/t-linux-uclibc ++++ gcc-3.4.1/gcc/config/t-linux-uclibc +@@ -0,0 +1,5 @@ ++# Remove glibc specific files added in t-linux ++SHLIB_MAPFILES := $(filter-out $(srcdir)/config/libgcc-glibc.ver, $(SHLIB_MAPFILES)) ++ ++# Use unwind-dw2-fde instead of unwind-dw2-fde-glibc ++LIB2ADDEH := $(subst unwind-dw2-fde-glibc.c,unwind-dw2-fde.c,$(LIB2ADDEH)) --- gcc-3.4.1/gcc/config.gcc +++ gcc-3.4.1/gcc/config.gcc @@ -2310,10 +2310,16 @@ @@ -10,7 +18,7 @@ +# Rather than hook into each target, just do it after all the linux +# targets have been processed +case ${target} in -+*-linux-uclibc*) tm_defines="${tm_defines} USE_UCLIBC" ++*-linux-uclibc*) tm_defines="${tm_defines} USE_UCLIBC" ; tmake_file="${tmake_file} t-linux-uclibc" +esac # Support for --with-cpu and related options (and a few unrelated options, |