package/kmsxx: add patch to fix LTO support
authorArnout Vandecappelle <arnout@mind.be>
Sat, 27 Aug 2016 10:26:13 +0000 (12:26 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Aug 2016 12:45:51 +0000 (14:45 +0200)
commit40f5d4a176a6f6c05806003e6b9d4d0bfd69732a
treecc73a4f16be1c289f5b74009d3cd4446b721eaf9
parent97fe953bf61116a2c7898344938c3cd18189e6fa
package/kmsxx: add patch to fix LTO support

The LTO support in the kmsxx package uses the host gcc-ar and gcc-ranlib
instead of the ones from the cross-toolchain. Add a patch that tries to
find the right one based on CMAKE_C_COMPILER.

Fixes:
http://autobuild.buildroot.net/results/16a/16a38a4277dd1152a5955d62cb92f85447791ef3

Possibly also fixes:
http://autobuild.buildroot.net/results/f3c/f3c48da3a9706cd366c0e0a96c3cd0ff959f2a78
(it fails later, possibly because an incompatible host ar)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kmsxx/0001-Fix-LTO-support-for-cross-compilation.patch [new file with mode: 0644]