package/protobuf: fix build failure due to missing -mcmodel=large
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Mon, 26 Jul 2021 22:34:34 +0000 (00:34 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 17 Aug 2021 21:11:44 +0000 (23:11 +0200)
commitbdbb113cd28e9ab17fe067da50484648b84408b8
treed035405cbb07f720343258a65610b2e959922391
parentf76b2cd8d81d001aca35def6f7f938e77a2094ef
package/protobuf: fix build failure due to missing -mcmodel=large

When building protobuf for or1k -mcmodel=large is needed to link, so let's
add that gcc option in case we're building for or1k.

Upstream gcc doesn't have the -mcmodel=large option for or1k, but all
released Buildroot gcc versions have the patch to add it, so that's
fine.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/protobuf/protobuf.mk