[PATCH] testsuite/lib/target-supports.exp: Fix check_effective_target_lto

Jeff Law law@redhat.com
Mon Jan 12 21:41:00 GMT 2015


On 01/11/15 12:26, Ilya Verbin wrote:
> On 09 Jan 10:29, Thomas Schwinge wrote:
>> As this was the only use of ENABLE_LTO in the testsuite, I suggest to
>> also remove it from the gcc/Makefile.in:site.exp rule.
>
> Done.
> Here is an updated and retested patch.  OK for trunk?
>
>
> gcc/
> 	* Makefile.in (site.exp): Do not set ENABLE_LTO.
> gcc/testsuite/
> 	* lib/target-supports.exp (check_effective_target_lto): Check for -flto
> 	option support instead of ENABLE_LTO from Makefile.
OK.
Jeff



More information about the Gcc-patches mailing list