void-packages/srcpkgs/gcc
Leah Neukirchen 23b0bb480b gcc: override glibcxx_cv_c99_math_cxx98=yes and glibcxx_cv_c99_math_cxx11=yes.
A glibc 2.26 regression (https://sourceware.org/bugzilla/show_bug.cgi?id=21930)
broke the test detecting whether libstdc++ can make use of C99 <math.h>
functions, which resulted in <cmath> loading <math.h> the wrong way,
breaking all C++ code using <cmath>.

We override the test to provide the correct result, and <math.h> is now
imported again in a C++ friendly way via <cmath>.

Closes #7324.
See also #7307.
2017-08-10 18:12:05 +02:00
..
files
patches
template
update