libnspr: only pass --{enable,disable}-thumb2 on ARM
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 7 Jan 2013 08:11:44 +0000 (09:11 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 7 Jan 2013 08:11:44 +0000 (09:11 +0100)
commit13a9fc901f637a1534baa4f08322f3b29ba66b0d
tree6b2638eca068b6a29ab2c353702a88da2a037cff
parent2f511fe31229ab9fd2182aa0ebda0ecf205ab12b
libnspr: only pass --{enable,disable}-thumb2 on ARM

Fixes http://autobuild.buildroot.net/results/dff3f851ee4c62067a0b231c683383ce8692b8b3

libnspr adds -marm to CFLAGS when passed --disable-thumb2, which is only
recognized by ARM cross compilers, so only use when building for ARM.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libnspr/libnspr.mk