Bug 29527 - make clean in libiberty/testsuite does nothing when EXEEXT is defined
Summary: make clean in libiberty/testsuite does nothing when EXEEXT is defined
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unknown
: P3 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 20:11 UTC by Phil Lello
Modified: 2012-02-01 23:44 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2012-02-01 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Lello 2006-10-20 20:11:33 UTC
The current rule for make clean on libiberty/testsuite doesn't append EXEEXT, so make clean doesn't perform as expected under cygwin.

The following patch resolves this; please test/commit

Phil Lello

Index: libiberty/testsuite/Makefile.in
===================================================================
--- libiberty/testsuite/Makefile.in     (revision 117909)
+++ libiberty/testsuite/Makefile.in     (working copy)
@@ -77,9 +77,9 @@

 # The standard clean rules.
 mostlyclean:
-       rm -f test-demangle
-       rm -f test-pexecute
-       rm -f test-expandargv
+       rm -f test-demangle@EXEEXT@
+       rm -f test-pexecute@EXEEXT@
+       rm -f test-expandargv@EXEEXT@
 clean: mostlyclean
 distclean: clean
        rm -f Makefile
Comment 1 Andrew Pinski 2012-02-01 23:44:26 UTC
Confirmed.