darwin output paths
This commit is contained in:
parent
89c9a8896b
commit
fa4fcaf6b4
@ -164,8 +164,8 @@ let version = "4.8.5";
|
|||||||
" --disable-libatomic " + # libatomic requires libc
|
" --disable-libatomic " + # libatomic requires libc
|
||||||
" --disable-decimal-float" # libdecnumber requires libc
|
" --disable-decimal-float" # libdecnumber requires libc
|
||||||
else
|
else
|
||||||
(if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"
|
(if crossDarwin then " --with-sysroot=${libcCross.out}/share/sysroot"
|
||||||
else " --with-headers=${libcCross}/include") +
|
else " --with-headers=${libcCross.dev}/include") +
|
||||||
# Ensure that -print-prog-name is able to find the correct programs.
|
# Ensure that -print-prog-name is able to find the correct programs.
|
||||||
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
||||||
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
||||||
|
@ -166,8 +166,8 @@ let version = "4.9.3";
|
|||||||
" --disable-libatomic " + # libatomic requires libc
|
" --disable-libatomic " + # libatomic requires libc
|
||||||
" --disable-decimal-float" # libdecnumber requires libc
|
" --disable-decimal-float" # libdecnumber requires libc
|
||||||
else
|
else
|
||||||
(if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"
|
(if crossDarwin then " --with-sysroot=${libcCross.out}/share/sysroot"
|
||||||
else " --with-headers=${libcCross}/include") +
|
else " --with-headers=${libcCross.dev}/include") +
|
||||||
# Ensure that -print-prog-name is able to find the correct programs.
|
# Ensure that -print-prog-name is able to find the correct programs.
|
||||||
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
||||||
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
||||||
|
@ -165,8 +165,8 @@ let version = "5.3.0";
|
|||||||
" --disable-libatomic " + # libatomic requires libc
|
" --disable-libatomic " + # libatomic requires libc
|
||||||
" --disable-decimal-float" # libdecnumber requires libc
|
" --disable-decimal-float" # libdecnumber requires libc
|
||||||
else
|
else
|
||||||
(if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"
|
(if crossDarwin then " --with-sysroot=${libcCross.out}/share/sysroot"
|
||||||
else " --with-headers=${libcCross}/include") +
|
else " --with-headers=${libcCross.dev}/include") +
|
||||||
# Ensure that -print-prog-name is able to find the correct programs.
|
# Ensure that -print-prog-name is able to find the correct programs.
|
||||||
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
||||||
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
||||||
|
@ -165,8 +165,8 @@ let version = "6.1.0";
|
|||||||
" --disable-libatomic " + # libatomic requires libc
|
" --disable-libatomic " + # libatomic requires libc
|
||||||
" --disable-decimal-float" # libdecnumber requires libc
|
" --disable-decimal-float" # libdecnumber requires libc
|
||||||
else
|
else
|
||||||
(if crossDarwin then " --with-sysroot=${libcCross}/share/sysroot"
|
(if crossDarwin then " --with-sysroot=${libcCross.out}/share/sysroot"
|
||||||
else " --with-headers=${libcCross}/include") +
|
else " --with-headers=${libcCross.dev}/include") +
|
||||||
# Ensure that -print-prog-name is able to find the correct programs.
|
# Ensure that -print-prog-name is able to find the correct programs.
|
||||||
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
(stdenv.lib.optionalString (crossMingw || crossDarwin) (
|
||||||
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
" --with-as=${binutilsCross}/bin/${cross.config}-as" +
|
||||||
|
Loading…
Reference in New Issue
Block a user