gcc: Don't symlink lib and lib64 when building multilib
This commit is contained in:
parent
0489661dd1
commit
f081cacda7
@ -198,7 +198,7 @@ postConfigure() {
|
||||
|
||||
preInstall() {
|
||||
# Make ‘lib64’ a symlink to ‘lib’.
|
||||
if [ -n "$is64bit" ]; then
|
||||
if [ -n "$is64bit" -a -z "$enableMultilib" ]; then
|
||||
mkdir -p $out/lib
|
||||
ln -s lib $out/lib64
|
||||
fi
|
||||
|
@ -192,7 +192,7 @@ stdenv.mkDerivation ({
|
||||
inherit langC langCC langFortran langJava langAda langGo;
|
||||
};
|
||||
|
||||
inherit patches;
|
||||
inherit patches enableMultilib;
|
||||
|
||||
postPatch =
|
||||
if (stdenv.isGNU
|
||||
@ -431,7 +431,7 @@ stdenv.mkDerivation ({
|
||||
else null;
|
||||
|
||||
passthru = { inherit langC langCC langAda langFortran langVhdl
|
||||
langGo enableMultilib version; };
|
||||
langGo version; };
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
@ -2133,7 +2133,7 @@ let
|
||||
|
||||
gcc46_multi = if system == "x86_64-linux" then lowPrio (
|
||||
wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi (gcc46.gcc.override {
|
||||
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc);
|
||||
stdenv = overrideGCC stdenv (wrapGCCWith (import ../build-support/gcc-wrapper) glibc_multi gcc.gcc);
|
||||
profiledCompiler = false;
|
||||
enableMultilib = true;
|
||||
})) else throw "Multilib gcc not supported on this system";
|
||||
|
Loading…
Reference in New Issue
Block a user