Expose lib64 and lib separately in sysroot

This commit is contained in:
Giulio De Pasquale 2022-04-03 00:53:03 +02:00
parent 37615f690e
commit 599cd79b99

View file

@ -19,9 +19,9 @@ let
lib = gcc_multi_sysroot;
};
} ''
mkdir -p $out/lib/gcc
mkdir -p $out/lib{,64}/gcc
ln -s ${combine gcc64}/lib/gcc/* $out/lib/gcc/
ln -s ${combine gcc64}/lib/gcc/* $out/lib64/gcc/
ln -s ${combine gcc32}/lib/gcc/* $out/lib/gcc/
# XXX: This shouldn't be needed, clang just doesn't look for "i686-unknown"
ln -s $out/lib/gcc/i686-unknown-linux-gnu $out/lib/gcc/i686-pc-linux-gnu