On 05/30/2013 11:35 AM, Peter Rosin wrote: > > Ok, thanks, how about this? > > Cheers, > Peter > > From 9f325eea27e41d868fbe020fe4034bec3c758fb0 Mon Sep 17 00:00:00 2001 > From: Peter Rosin <p...@lysator.liu.se> > Date: Thu, 30 May 2013 11:31:02 +0200 > Subject: [PATCH] automake: assume we can always pass '-o' to the C compiler > > It is assumed that we can pass -c -o to the C compiler, so remove > some special casing and always do that. > > This change is similar in spirit to v1.13.1d-217-g7299c4d "depend: assume > we can always pass '-o' to the C compiler" > > This change also happen to fix a testsuite failure > (t/silent-many-languages.sh) when mixing MSVC and GNU fortran, which > have different default object file extensions (.obj vs. .o). This > difference in object file extension is not handled well and caused > Automake to look for MSVC objects with .o extension. Always using -o > makes MSVC create .o object files and linking succeeds. Not that > anybody recommends mixing toolchains or anything. > > * bin/automake.in (handle_languages): Remove conditional modification > of 'output_flag' entry for 'c'. > (register_language ('name' => 'c')): Add 'output_flag' entry set to '-o'. > > Signed-off-by: Peter Rosin <p...@lysator.liu.se> > ACK, and thanks.
Stefano