Define HUGE_VAL in <math.h> conditionally. That's what gcc's fixincludes

hack math_huge_val_ifndef does, anyway. We do it ourselves and remove
the therefore superfluous gcc math.h header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2008-03-16 16:39:06 +00:00
parent 7a3ecb82ba
commit 0cfb40d0dc
2 changed files with 8 additions and 1 deletions
+5
View File
@@ -121,6 +121,11 @@ make install-gcc-cross || {
exit 1
}
# Remove the math.h gcc header. It has been generated by fixincludes
# (unconditional hack: math_huge_val_ifndef) from ours and it is semantically
# equivalent.
rm $installDir/lib/gcc-lib/i586-pc-beos/$haikuRequiredLegacyGCCVersion/include/math.h
# cleanup