summaryrefslogtreecommitdiff
path: root/gcc/mkdeps.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 10:43:52 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-10 10:43:52 +0000
commit79db8ea819caa42d9b166b78eb7c38d4cba12f1d (patch)
tree14fc3d96b29e3a9f455b47391b31f26822d7c419 /gcc/mkdeps.c
parent0bce9b89bb0f42bf6347e7478104c3d1f75f375c (diff)
downloadgcc-79db8ea819caa42d9b166b78eb7c38d4cba12f1d.tar.gz
* cppfiles.c (search_from): Use lbasename.
* mkdeps.c (deps_add_default_target): Use lbasename. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40364 138bc75d-0d04-0410-961f-82ee72b054a4
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;