This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bootstrap failure on alpha and solaris Re: [RFA] automake massupdate, 2 of 2
Andreas Tobler wrote:
hm, this breaks the other targets :(
The only thing so far which works on darwin (.s) and solaris (.S) is
this. I'm not very happy with, not so elegant, code duplication :)
Maybe there is a more elegant, or the right (tm) way?
Andreas
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/boehm-gc/Makefile.am,v
retrieving revision 1.41
diff -u -r1.41 Makefile.am
--- Makefile.am 16 Jun 2004 07:34:39 -0000 1.41
+++ Makefile.am 17 Jun 2004 05:32:45 -0000
@@ -57,6 +57,8 @@
## We use -Wp,-P to strip #line directives. Irix `as' chokes on
## these.
$(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
+.S.lo:
+ $(LTCOMPILE) -Wp,-P -x assembler-with-cpp -c $<
## We have our own definition of LTCOMPILE because we want to use our
## CFLAGS, not those passed in from the top level make.