gcc: Moving the arch=loongson2f to the current platform approach
This commit is contained in:
parent
ba7cde0156
commit
2402bb2613
@ -313,8 +313,6 @@ stdenv.mkDerivation ({
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
${ # Trick that should be taken out once we have a mips64el-linux not loongson2f
|
|
||||||
if cross == null && stdenv.system == "mips64el-linux" then "--with-arch=loongson2f" else ""}
|
|
||||||
${if langAda then " --enable-libada" else ""}
|
${if langAda then " --enable-libada" else ""}
|
||||||
${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
|
${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
|
||||||
${if cross != null then crossConfigureFlags else ""}
|
${if cross != null then crossConfigureFlags else ""}
|
||||||
|
@ -324,8 +324,6 @@ stdenv.mkDerivation ({
|
|||||||
${if (stdenv ? glibc && cross == null)
|
${if (stdenv ? glibc && cross == null)
|
||||||
then " --with-native-system-header-dir=${stdenv.glibc}/include"
|
then " --with-native-system-header-dir=${stdenv.glibc}/include"
|
||||||
else ""}
|
else ""}
|
||||||
${ # Trick that should be taken out once we have a mips64el-linux not loongson2f
|
|
||||||
if cross == null && stdenv.system == "mips64el-linux" then "--with-arch=loongson2f" else ""}
|
|
||||||
${if langAda then " --enable-libada" else ""}
|
${if langAda then " --enable-libada" else ""}
|
||||||
${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
|
${if cross == null && stdenv.isi686 then "--with-arch=i686" else ""}
|
||||||
${if cross != null then crossConfigureFlags else ""}
|
${if cross != null then crossConfigureFlags else ""}
|
||||||
|
@ -378,5 +378,6 @@ rec {
|
|||||||
'';
|
'';
|
||||||
kernelTarget = "vmlinux";
|
kernelTarget = "vmlinux";
|
||||||
uboot = null;
|
uboot = null;
|
||||||
|
gcc.arch = "loongson2f";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user