Browse Source

[2831] make sure BOOST_NUMERIC_CAST_WOULDFAIL is set in all cases

also, corrected incorrect reset of CXXFLAGS
JINMEI Tatuya 12 years ago
parent
commit
ba0d6139ca
1 changed files with 1 additions and 2 deletions
  1. 1 2
      m4macros/ax_boost_for_bind10.m4

+ 1 - 2
m4macros/ax_boost_for_bind10.m4

@@ -106,8 +106,7 @@ if test "X$GXX" = "Xyes"; then
    CXXFLAGS="$CXXFLAGS_SAVED"
 else
    # This doesn't matter for non-g++
-
-   CXXFLAGS="$CXXFLAGS_SAVED"
+   BOOST_NUMERIC_CAST_WOULDFAIL=no
 fi
 
 # Boost interprocess::managed_mapped_file is highly system dependent and