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
This commit is contained in:
parent
c14826cfc9
commit
cdde47a670
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
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". */
|
||||
|
|
Loading…
Add table
Reference in a new issue