mpir: fix build on ARM Thumb-only platforms
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 8 May 2017 19:45:48 +0000 (21:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 9 May 2017 15:03:23 +0000 (17:03 +0200)
commitfa3fbeb1bf4b0d3bed85bbeab4bd0f7b1c13e21a
treeae3c3039deef9d29088176cba1f2aac1df9bc2e0
parent4c0fdc6730459a225d5a61e8e699ce9329c99f19
mpir: fix build on ARM Thumb-only platforms

The optimized ARM assembly code is not suitable for Thumb-only
platforms, so use the generic code in such situations.

Fixes:

  http://autobuild.buildroot.net/results/4d7f2a1326f75e11693bdd51ad274079b0dd0ce4/
  (ARM Cortex-M4 toolchain)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mpir/mpir.mk