This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[lto] Fixlet for ltrans-driver
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 31 Dec 2008 14:30:48 -0500
- Subject: [lto] Fixlet for ltrans-driver
We used to have no action associated with the 'all' target in the
Makefile generated by ltrans-driver. This was causing random
failures when a file named 'all.s' existed in the directory.
Tested on x86_64.
Diego.
lto/ChangeLog
* ltrans-driver: Execute a NOP action for target 'all'.
Index: lto/ltrans-driver
===================================================================
--- lto/ltrans-driver (revision 142985)
+++ lto/ltrans-driver (working copy)
@@ -79,6 +79,7 @@ do
done
echo "all: $outputlist" >> $makefile
+echo " @true" >> $makefile
if [ $verbose -eq 1 ] ; then
set -x