Some CC compilers do not like -c -o options together.
The attached patch fixes this.

You get
.cpp.o:
        $(CXXCOMPILE) -c $<

instead of
.cpp.o:
        $(CXXCOMPILE) -c -o $@ $<


-- 
Tim Rice                                Multitalents    (707) 887-1469
[EMAIL PROTECTED]
--- automake-1.9.6/automake.in.old	2005-06-30 14:17:13.000000000 -0700
+++ automake-1.9.6/automake.in	2005-10-29 18:31:51.565961323 -0700
@@ -691,7 +691,6 @@
 		   'compile' => '$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)',
 		   'compiler' => 'CXXCOMPILE',
 		   'compile_flag' => '-c',
-		   'output_flag' => '-o',
 		   'libtool_tag' => 'CXX',
 		   'lder' => 'CXXLD',
 		   'ld' => '$(CXX)',

Reply via email to