summaryrefslogtreecommitdiff
path: root/LTO.cmake
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-09-19 14:38:16 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-28 10:14:07 +0300
commit07c6c86874fef1e4aeccd37dc62cc009ba7212b8 (patch)
treec79906daa4a4054a0be2b85442d782179d09ad9a /LTO.cmake
parentf093a5529cc925e18104e62764e209358c7a4ec2 (diff)
Fix LTO detection
Catch gcc-ar and gcc-ranlib versions compiled without plugin support and disable LTO in that case. Also do the LTO check only once by checking if HAS_LTO_FLAG has been set. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'LTO.cmake')
0 files changed, 0 insertions, 0 deletions