source:
scripts/patches/gcc-3.4.3-clean_lib_search_paths_when_cross-1.patch@
eb55250
Last change on this file since eb55250 was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
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 3765 3765 3766 3766 add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS", 3767 3767 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", 3769 3771 PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0); 3772 } 3770 3773 3771 3774 tooldir_prefix = concat (tooldir_base_prefix, spec_machine, 3772 3775 dir_separator_str, NULL);
Note:
See TracBrowser
for help on using the repository browser.