mongodb: disable support for armv4 and armv5
authorSergio Prado <sergio.prado@e-labworks.com>
Mon, 4 Jan 2016 15:50:23 +0000 (13:50 -0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 4 Jan 2016 16:39:12 +0000 (17:39 +0100)
commitaf2de9e6628c16f50ce5888a6ff7068977129fd6
tree9b4cff52ae13487d46a13e177e3542c6cd16b651
parent1a0368e6fe711c7b57bd7a5315c0f11b3aab77d0
mongodb: disable support for armv4 and armv5

When compiling for armv4 or armv5, we get the following error:

src/mongo/util/signal_handlers_synchronous.cpp:188:9: error: 'current_exception' is not a member of 'std'
     if (std::current_exception()) {
         ^

This is because libstdc++ will only enable std::current_exception if ATOMIC_INT_LOCK_FREE > 1, which is not the case for armv4 and armv5 architectures, so disable them.

Fixes:
http://autobuild.buildroot.net/results/589a02f511939531141135def73785b600113152/
http://autobuild.buildroot.net/results/89b9cd2dae8645b50407409c7f2a8567c551822c/
http://autobuild.buildroot.net/results/b8ffce927cb0563f5c43533ec2f02d3487acc198/

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mongodb/Config.in