aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Duda <deo@logos-m.ru>2001-11-05 13:16:41 +0000
committerEgor Duda <deo@logos-m.ru>2001-11-05 13:16:41 +0000
commit48da07548b0224b9ab9996010c2e8467a9f5a2a6 (patch)
tree9d3d633fde444f00ab5fc556ec45704877f80bb3
parent9c510edc61bef580f66590d0932a64873307e1c5 (diff)
downloadnewlib-48da07548b0224b9ab9996010c2e8467a9f5a2a6.zip
newlib-48da07548b0224b9ab9996010c2e8467a9f5a2a6.tar.gz
newlib-48da07548b0224b9ab9996010c2e8467a9f5a2a6.tar.bz2
* Makefile.in: Delete unused executable after creating base-files.
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/Makefile.in9
2 files changed, 10 insertions, 3 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index f1428c0..3b8fd41 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-05 Egor Duda <deo@logos-m.ru>
+
+ * Makefile.in: Delete unused executable after creating base-files.
+
2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* include/io.h (_commit): Add declaration.
diff --git a/winsup/mingw/Makefile.in b/winsup/mingw/Makefile.in
index 57485f3..d446547 100644
--- a/winsup/mingw/Makefile.in
+++ b/winsup/mingw/Makefile.in
@@ -202,11 +202,14 @@ DLL_DLLTOOL_STUFF = --as=$(AS) --dllname $(THREAD_DLL_NAME) \
$(THREAD_DLL_NAME) mingwthrd.def: $(DLL_OFILES) Makefile
$(DLLTOOL) --as $(AS) --output-def mingwthrd.def $(DLL_OFILES)
- $(CC) -Wl,--base-file=mingwthrd.base $(DLL_CC_STUFF)
+ $(CC) -Wl,--base-file=mingwthrd.base $(DLL_CC_STUFF) \
+ -o mingwthrd_dummy.exe
$(DLLTOOL) $(DLL_DLLTOOL_STUFF)
- $(CC) -Wl,--base-file=mingwthrd.base mingwthrd.exp $(DLL_CC_STUFF)
+ $(CC) -Wl,--base-file=mingwthrd.base mingwthrd.exp $(DLL_CC_STUFF) \
+ -o mingwthrd_dummy.exe
$(DLLTOOL) $(DLL_DLLTOOL_STUFF)
$(CC) mingwthrd.exp -o $(THREAD_DLL_NAME) $(DLL_CC_STUFF)
+ rm -f mingwthrd_dummy.exe
libmingw32.a: $(MINGW_OBJS)
$(AR) rc $@ $(MINGW_OBJS)
@@ -249,7 +252,7 @@ crt2.o dllcrt2.o:
clean:
-rm -f *.o *.a *~ core a.out mingwthrd.def mingwthrd.base mingwthrd.exp
- -rm -f $(THREAD_DLL_NAME)
+ -rm -f $(THREAD_DLL_NAME) mingwthrd_dummy.exe
@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)
distclean: