summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 6efd037c5..08d7d59e1 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -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. */