llvm.org GIT mirror llvm / 79e22d8
Fix CXXFLAGS for huge_val.m4. Patch by Jeremy Huddleston! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153862 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 7 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
55 AC_CACHE_CHECK([for HUGE_VAL sanity], [ac_cv_huge_val_sanity],[
66 AC_LANG_PUSH([C++])
77 ac_save_CXXFLAGS=$CXXFLAGS
8 CXXFLAGS+=" -pedantic"
8 CXXFLAGS="$CXXFLAGS -pedantic"
99 AC_RUN_IFELSE(
1010 AC_LANG_PROGRAM(
1111 [#include ],
1637016370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1637116371
1637216372 ac_save_CXXFLAGS=$CXXFLAGS
16373 CXXFLAGS+=" -pedantic"
16373 CXXFLAGS="$CXXFLAGS -pedantic"
1637416374 if test "$cross_compiling" = yes; then
1637516375 ac_cv_huge_val_sanity=yes
1637616376 else