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

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

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • 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.