Commit cdde47a6 by Tom de Vries Committed by Tom de Vries

Handle flinker-output in lto-wrapper

2015-11-28  Tom de Vries  <tom@codesourcery.com>

	* lto-wrapper.c (run_gcc): Handle -flinker-output argument.

From-SVN: r231033
parent c14826cf
2015-11-28 Tom de Vries <tom@codesourcery.com>
* lto-wrapper.c (run_gcc): Handle -flinker-output argument.
2015-11-27 Jonathan Wakely <jwakely@redhat.com>
* doc/invoke.texi (Option Summary): Use negative form of
......@@ -1096,7 +1096,10 @@ run_gcc (unsigned argc, char *argv[])
if (have_offload && !have_lto)
{
for (i = 1; i < argc; ++i)
if (strncmp (argv[i], "-fresolution=", sizeof ("-fresolution=") - 1))
if (strncmp (argv[i], "-fresolution=",
sizeof ("-fresolution=") - 1) != 0
&& strncmp (argv[i], "-flinker-output=",
sizeof ("-flinker-output=") - 1) != 0)
{
char *out_file;
/* Can be ".o" or ".so". */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment