dbaron told me he hit this issue while trying to do ARMv6 Android builds. His workaround patch is here:
I have a patch that should be okay to commit, it involves a fair amount of code shuffling in configure.
Created attachment 570009 [details] [diff] [review]
shuffle around some blocks in configure so we can choose the right STLport flavor for ARMv6 Android builds
This seems to build for me, but I don't have an actual ARMv6 device to test on. (This phone dougt gave me is actual ARMv5TE.)
*** Bug 661463 has been marked as a duplicate of this bug. ***