skalibs: make ld use dummy file when configuring
commit32fe6a540beaf240df0aa5560ab040bef6ed7577
authorEric Le Bihan <eric.le.bihan.dev@free.fr>
Fri, 30 Dec 2016 21:55:10 +0000 (30 22:55 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 1 Jan 2017 08:34:59 +0000 (1 09:34 +0100)
tree3383776e8421d9c3ad5a153928675dd2eb5945aa
parent027d8141c56d03a7bbaad3c5242c1263454b10b2
skalibs: make ld use dummy file when configuring

For some architectures, like Xtensa or HPPA, ld from binutils requires
the output file to be a regular file, as mentioned in a bug report on
the mailing list [1].

So, use a dummy file as output file for ld, instead of /dev/null, when
trying to detect some libraries at configuration time.

Fixes http://autobuild.buildroot.net/results/288/288fc31cd10ffe3cd93371c7be37d79452a91768/

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=19526

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/skalibs/0003-Make-linker-use-dummy-file-when-testing-libs.patch [new file with mode: 0644]