source: patches/gcc-3.4.3-clean_lib_search_paths_when_cross-1.patch@ f118837

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since f118837 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 896 bytes
  • gcc-3.4.3/gcc/gcc.

    Submitted by: Ryan Oliver <ryan.oliver@pha.com.au>
    Date: 20050502
    Description:
      Removes standard_exec_prefix_2 from library search path when cross-compiling
      ie: if cross_compile = 1 in the specs file, do not add
          /usr/lib/gcc/${TARGET}/${GCC_VER} to the library search path
     
    old new  
    37653765
    37663766  add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS",
    37673767              PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
    3768   add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS",
     3768  if (*cross_compile == '0')
     3769    {
     3770      add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS",
    37693771              PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
     3772    }
    37703773
    37713774  tooldir_prefix = concat (tooldir_base_prefix, spec_machine,
    37723775                           dir_separator_str, NULL);
Note: See TracBrowser for help on using the repository browser.