summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/flto-automake.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2018-12-18meta-phosphor: Create obmc-autotools to update AR and RANLIBJames Feist1-0/+6
Many recipes are turning on -flto which causes issues with the linker when dealing with libraries. It was suggested here http://stackoverflow.com/questions/25878407/how-can-i-use-lto-with-static-libraries#comment67660913_25878408 to use the gcc wrappers to deal with this problem. Create flto-automake class as this seems like something that could be globally applied if needed. Tested-by: phosphor-pid-control began to build, saw no new build issues. (From meta-phosphor rev: ae3f085053fa2de4783d6f35a6b5f998743a130a) Change-Id: I3f682cf0fb70e266b544badb0223fa89306332db Signed-off-by: James Feist <james.feist@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>