This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libffi patch RFA: Pass -Qunused-arguments for asm files


Il 30/09/2014 02:12, Ian Lance Taylor ha scritto:
> Similar to a recent patch to libgo, this patch to the libffi configure
> script checks whether the compiler support -Qunused-arguments.  If it
> does, it passes -Qunused-arguments when invoking the compiler on .s
> files.  This is because the clang driver complains by default when given
> useless arguments, such as -I options when compiling a .s file.  This
> somewhat annoying behaviour works poorly with configure scripts.  The
> -Qunused-arguments option disables it.  Bootstrapped and ran libffi and
> libgo tests on x86_64-unknown-linux-gnu.
> 
> OK for mainline?
> 
> Ian
> 
> 
> 2014-09-29  Ian Lance Taylor  <iant@google.com>
> 
> 	* configure.ac: If the compiler supports -Qunused-arguments, use
> 	it when running the compiler on .s files.
> 	* configure: Regenerated.

Ok.

Paolo


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]