Hi Guys,

  I am applying the patch below to fix a small problem building
  m32r-linux toolchains - the glibc-c.o object file was not being built
  because the definition of tmake_file in M32R section of config.gcc was
  not allowing for the inclusion of t-glibc.

Cheers
  Nick

gcc/ChangeLog
2013-08-12  Nick Clifton  <ni...@redhat.com>

        * config.gcc (m32r-linux): Allow for tmake_file not being empty.

Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc      (revision 201658)
+++ gcc/config.gcc      (working copy)
@@ -1705,8 +1705,7 @@
        ;;
 m32r-*-linux*)
        tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h ${tm_file} 
m32r/linux.h"
-       # We override the tmake_file for linux -- why?
-       tmake_file="m32r/t-linux t-slibgcc"
+       tmake_file="${tmake_file} m32r/t-linux t-slibgcc"
        gnu_ld=yes
        if test x$enable_threads = xyes; then
                thread_file='posix'
@@ -1714,8 +1713,7 @@
        ;;
 m32rle-*-linux*)
        tm_file="dbxelf.h elfos.h gnu-user.h linux.h glibc-stdint.h 
m32r/little.h ${tm_file} m32r/linux.h"
-       # We override the tmake_file for linux -- why?
-       tmake_file="m32r/t-linux t-slibgcc"
+       tmake_file="${tmake_file} m32r/t-linux t-slibgcc"
        gnu_ld=yes
        if test x$enable_threads = xyes; then
                thread_file='posix'

Reply via email to