[packaging] use lto
Merge pull request #2 from wsnipex/macros

[packaging] use lto