summaryrefslogtreecommitdiff
path: root/gcc/mkdeps.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mkdeps.c')
-rw-r--r--gcc/mkdeps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mkdeps.c b/gcc/mkdeps.c
index 14935b328a6..8afd75e7416 100644
--- a/gcc/mkdeps.c
+++ b/gcc/mkdeps.c
@@ -191,7 +191,7 @@ deps_add_default_target (d, tgt)
#ifndef OBJECT_SUFFIX
# define OBJECT_SUFFIX ".o"
#endif
- char *start = basename (tgt);
+ char *start = lbasename (tgt);
char *o = (char *) alloca (strlen (start) + strlen (OBJECT_SUFFIX) + 1);
char *suffix;