brltty: use gcc instead of ld to link shared objects
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 8 Oct 2018 21:05:07 +0000 (23:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 9 Oct 2018 06:53:09 +0000 (08:53 +0200)
commit9143c217213542574586c0e6a9f003e822633917
tree97f8318efc772278b421899adc390bb65434d5f4
parentabba4e701246f69bc22ca9045e9932abfe9228e9
brltty: use gcc instead of ld to link shared objects

Bump to version 5.6 has reintroduced the issue fixed by patch 854093 on
version 5.5.

Indeed, third patch was merged upstream but it was then reverted:
https://github.com/brltty/brltty/commit/9e7d62c869d3c1cbe12dda8b0291a4692c193416

Moreover, since commit 3a2e3f6fa5ef0a210ffeba5ed05c79965d0cc3c7, MKOBJ
was renamed into MKREL. So, patch again brltty, overwrite
MKREL to use "gcc -shared -o" instead of "ld -r -o" if gcc is available
(as suggested by Arnout: https://patchwork.ozlabs.org/patch/972614).

Fixes:
 - http://autobuild.buildroot.org/results/31f682838b3d3b2c7103b5c51f2aba0b89d4f630

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/brltty/0002-Fix-linking-error-on-mips64el.patch [new file with mode: 0644]