mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
Fix CXXFLAGS for huge_val.m4.
Patch by Jeremy Huddleston! llvm-svn: 153862
This commit is contained in:
parent
dbc259a436
commit
53e22c484b
@ -6,7 +6,7 @@ AC_DEFUN([AC_HUGE_VAL_CHECK],[
|
||||
AC_CACHE_CHECK([for HUGE_VAL sanity], [ac_cv_huge_val_sanity],[
|
||||
AC_LANG_PUSH([C++])
|
||||
ac_save_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS+=" -pedantic"
|
||||
CXXFLAGS="$CXXFLAGS -pedantic"
|
||||
AC_RUN_IFELSE(
|
||||
AC_LANG_PROGRAM(
|
||||
[#include <math.h>],
|
||||
|
2
configure
vendored
2
configure
vendored
@ -16371,7 +16371,7 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex
|
||||
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
||||
|
||||
ac_save_CXXFLAGS=$CXXFLAGS
|
||||
CXXFLAGS+=" -pedantic"
|
||||
CXXFLAGS="$CXXFLAGS -pedantic"
|
||||
if test "$cross_compiling" = yes; then
|
||||
ac_cv_huge_val_sanity=yes
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user