|
|
|
@ -145,6 +145,9 @@ let version = "7-20170409"; |
|
|
|
|
withFpu + |
|
|
|
|
withFloat + |
|
|
|
|
withMode + |
|
|
|
|
# Ensure that -print-prog-name is able to find the correct programs. |
|
|
|
|
" --with-as=${binutils}/bin/${cross.config}-as" + |
|
|
|
|
" --with-ld=${binutils}/bin/${cross.config}-ld" + |
|
|
|
|
(if crossMingw && crossStageStatic then |
|
|
|
|
" --with-headers=${libcCross}/include" + |
|
|
|
|
" --with-gcc" + |
|
|
|
@ -170,10 +173,6 @@ let version = "7-20170409"; |
|
|
|
|
(if crossDarwin then " --with-sysroot=${getLib libcCross}/share/sysroot" |
|
|
|
|
else " --with-headers=${getDev libcCross}/include") + |
|
|
|
|
# Ensure that -print-prog-name is able to find the correct programs. |
|
|
|
|
(stdenv.lib.optionalString (crossMingw || crossDarwin) ( |
|
|
|
|
" --with-as=${binutils}/bin/${cross.config}-as" + |
|
|
|
|
" --with-ld=${binutils}/bin/${cross.config}-ld" |
|
|
|
|
)) + |
|
|
|
|
" --enable-__cxa_atexit" + |
|
|
|
|
" --enable-long-long" + |
|
|
|
|
(if crossMingw then |
|
|
|
|