Fixing the cross gcc building.

gcc 4.8 added libatomic, and it has to be disabled in case of
gccCrossStageStatic, as it requires libc.
This commit is contained in:
Lluís Batlle i Rossell 2014-05-19 10:26:54 +02:00
parent 3d32e49058
commit b194050ee1
1 changed files with 1 additions and 0 deletions

View File

@ -160,6 +160,7 @@ let version = "4.8.2";
" --disable-libgomp " +
" --disable-libquadmath" +
" --disable-shared" +
" --disable-libatomic " + # libatomic requires libc
" --disable-decimal-float" # libdecnumber requires libc
else
(if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"