From cdb7744bc7a3bb2faf289a96cde1cfef59b4bc7e Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 23 Nov 2011 17:02:23 +0100 Subject: [PATCH] Avoid warning about missing math.h. * Apparently caused by the fact that we no longer run fixincludes, math.h is not being generated anymore. I haven't removed the rm from the script in order to be compatible with older compilers. --- build/scripts/build_cross_tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/build_cross_tools b/build/scripts/build_cross_tools index 5f37ac0e95..3f773a7383 100755 --- a/build/scripts/build_cross_tools +++ b/build/scripts/build_cross_tools @@ -161,7 +161,7 @@ make install-gcc-cross || { # 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-haiku/$haikuRequiredLegacyGCCVersion/include/math.h +rm -f $installDir/lib/gcc-lib/i586-pc-haiku/$haikuRequiredLegacyGCCVersion/include/math.h # cleanup