binutils: build objcopy.

git-svn-id: svn://kolibrios.org@5217 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2014-12-05 18:43:16 +00:00
parent c89ace2cf3
commit c0ef1058c9
25 changed files with 26706 additions and 73 deletions

View File

@@ -64,9 +64,9 @@ unlink_if_ordinary (const char *name)
{
struct stat st;
// if (lstat (name, &st) == 0
// && (S_ISREG (st.st_mode) || S_ISLNK (st.st_mode)))
// return unlink (name);
if (lstat (name, &st) == 0
&& (S_ISREG (st.st_mode) || S_ISLNK (st.st_mode)))
return unlink (name);
return 1;
}