blob: 66808a69ddf12561c2f34404f80b3004c2c02bc1 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001When using soft-float, on ARM we should not expect the FE_* symbols
2
3Signed-off-by: Khem Raj <raj.khem@gmail.com>
4Upstream-Status: Pending
5
6Index: boost_1_60_0/boost/test/execution_monitor.hpp
7===================================================================
8--- boost_1_60_0.orig/boost/test/execution_monitor.hpp
9+++ boost_1_60_0/boost/test/execution_monitor.hpp
10@@ -484,7 +484,8 @@ enum masks {
11 BOOST_FPE_UNDERFLOW = EM_UNDERFLOW|EM_DENORMAL,
12
13 BOOST_FPE_ALL = MCW_EM,
14-#elif defined(BOOST_NO_FENV_H) || defined(BOOST_CLANG)
15+#elif defined(BOOST_NO_FENV_H) || defined(BOOST_CLANG) \
16+ || defined(__ARM_PCS)
17 BOOST_FPE_ALL = 1,
18 #else
19 BOOST_FPE_DIVBYZERO = FE_DIVBYZERO,