llvm-project
llvm-project copied to clipboard
AC_HUGE_VAL_CHECK overwrite CXXFLAGS
| Bugzilla Link | 6388 |
| Resolution | FIXED |
| Resolved on | Mar 06, 2010 14:07 |
| Version | trunk |
| OS | Linux |
| Blocks | llvm/llvm-bugzilla-archive#6389 |
| Attachments | Fix AC_HUGE_VAL_CHECK macro |
| Reporter | LLVM Bugzilla Contributor |
| CC | @echristo |
Extended Description
While trying to add flags needed to build LLVM with atomic gcc builtins, I've found a problem in the AC_HUGE_VAL_CHECK test defined in autoconf/m4/huge_val.m4 .
The test sets CXXFLAGS to -pedantic and does not restore the previous value of CXXFLAGS.
Here is a patch that fix the behavor of the test.
mentioned in issue llvm/llvm-bugzilla-archive#6389
Applied thusly:
[ghostwheel:~/sources/llvm] echristo% svn ci configure autoconf/m4/huge_val.m4 Sending autoconf/m4/huge_val.m4 Sending configure Transmitting file data .. Committed revision 97548.
Thanks!