llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

AC_HUGE_VAL_CHECK overwrite CXXFLAGS

Open llvmbot opened this issue 16 years ago • 2 comments

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.

llvmbot avatar Feb 22 '10 18:02 llvmbot

mentioned in issue llvm/llvm-bugzilla-archive#6389

llvmbot avatar Nov 27 '21 05:11 llvmbot

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!

echristo avatar Mar 02 '10 07:03 echristo