gcc46_multi: Don't try to build on non-64-bit-linux

This commit is contained in:
Shea Levy 2013-02-09 10:01:02 -05:00
parent fd2cff9479
commit 0f66b8cb20

View File

@ -2135,11 +2135,12 @@ let
binutilsCross = null; binutilsCross = null;
})); }));
gcc46_multi = lowPrio (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc46.gcc.override { gcc46_multi = if system == "x86_64-linux" then lowPrio (
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc); wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc46.gcc.override {
profiledCompiler = false; stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc);
enableMultilib = true; profiledCompiler = false;
})); enableMultilib = true;
})) else throw "Multilib gcc not supported on this system";
gcc47_real = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.7 { gcc47_real = lowPrio (wrapGCC (callPackage ../development/compilers/gcc/4.7 {
inherit noSysDirs; inherit noSysDirs;