diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-19 14:38:16 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-09-28 10:14:07 +0300 |
commit | 07c6c86874fef1e4aeccd37dc62cc009ba7212b8 (patch) | |
tree | c79906daa4a4054a0be2b85442d782179d09ad9a /kmscube/CMakeLists.txt | |
parent | f093a5529cc925e18104e62764e209358c7a4ec2 (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 'kmscube/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions