diff options
author | midipix <writeonce@midipix.org> | 2015-03-17 22:05:30 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-03-17 22:05:30 -0400 |
commit | 5f657612b92a2e09c50e70242e7d25808de37dfe (patch) | |
tree | fe296565127debaec04452c8352c810be8f5cd06 | |
parent | edb6535a4f8b541820f90e517d8063d1e91b745c (diff) | |
download | cbb-gcc-4.6.4-5f657612b92a2e09c50e70242e7d25808de37dfe.tar.bz2 cbb-gcc-4.6.4-5f657612b92a2e09c50e70242e7d25808de37dfe.tar.xz |
gcc.c: default library path:
+ for sysroot-enabled systems, add the relative /lib directory to the
default library path.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
-rw-r--r-- | gcc/gcc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3641,6 +3641,9 @@ process_command (unsigned int decoded_options_count, PREFIX_PRIORITY_LAST, 0, 0); } + add_sysrooted_prefix (&startfile_prefixes, "/lib/", "GCC", + PREFIX_PRIORITY_LAST, 0, 0); + /* COMPILER_PATH and LIBRARY_PATH have values that are lists of directory names with colons. */ |