diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-10 10:43:52 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-03-10 10:43:52 +0000 |
commit | 79db8ea819caa42d9b166b78eb7c38d4cba12f1d (patch) | |
tree | 14fc3d96b29e3a9f455b47391b31f26822d7c419 /gcc/mkdeps.c | |
parent | 0bce9b89bb0f42bf6347e7478104c3d1f75f375c (diff) | |
download | gcc-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.c | 2 |
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; |