source:
scripts/patches/gcc-4.0.0-clean_exec_and_lib_search_paths_when_cross-1.patch@
5b77eee
Last change on this file since 5b77eee was 7f65c0e, checked in by , 19 years ago | |
---|---|
|
|
File size: 1.7 KB |
-
gcc-4.0.0/gcc/gcc.
Submitted by: Ryan Oliver <ryan.oliver@pha.com.au> Date: 20050503 Initial Package Version: 4.0.0 Description: Removes standard_exec_prefix_2 from library search path when cross-compiling. Removes both standard_exec_prefix_1 and standard_exec_prefix_2 from the gcc executable 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 - add /usr/lib/gcc/${TARGET}/${GCC_VER} or /usr/libexec/gcc/${TARGET}/${GCC_VER} to the executable search path
old new 3797 3797 PREFIX_PRIORITY_LAST, 2, 0); 3798 3798 add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS", 3799 3799 PREFIX_PRIORITY_LAST, 2, 0); 3800 add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS", 3800 if (*cross_compile == '0') 3801 { 3802 add_prefix (&exec_prefixes, standard_exec_prefix_1, "BINUTILS", 3801 3803 PREFIX_PRIORITY_LAST, 2, 0); 3802 add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS",3804 add_prefix (&exec_prefixes, standard_exec_prefix_2, "BINUTILS", 3803 3805 PREFIX_PRIORITY_LAST, 2, 0); 3806 } 3804 3807 #endif 3805 3808 3806 3809 add_prefix (&startfile_prefixes, standard_exec_prefix, "BINUTILS", 3807 3810 PREFIX_PRIORITY_LAST, 1, 0); 3808 add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS", 3811 if (*cross_compile == '0') 3812 { 3813 add_prefix (&startfile_prefixes, standard_exec_prefix_2, "BINUTILS", 3809 3814 PREFIX_PRIORITY_LAST, 1, 0); 3815 } 3810 3816 3811 3817 tooldir_prefix = concat (tooldir_base_prefix, spec_machine, 3812 3818 dir_separator_str, NULL);
Note:
See TracBrowser
for help on using the repository browser.