gcc: fix musl cross-compiler on i686

This commit is contained in:
Ben Wolsieffer 2020-03-13 16:26:41 -04:00
parent 84497cabd1
commit c0008c5b63

View file

@ -201,11 +201,11 @@ postConfigure() {
preInstall() { preInstall() {
mkdir -p "$out/${targetConfig}/lib"
mkdir -p "$lib/${targetConfig}/lib"
# Make lib64 symlinks to lib. # Make lib64 symlinks to lib.
if [ -n "$is64bit" -a -z "$enableMultilib" ]; then if [ -n "$is64bit" -a -z "$enableMultilib" ]; then
mkdir -p "$out/${targetConfig}/lib"
ln -s lib "$out/${targetConfig}/lib64" ln -s lib "$out/${targetConfig}/lib64"
mkdir -p "$lib/${targetConfig}/lib"
ln -s lib "$lib/${targetConfig}/lib64" ln -s lib "$lib/${targetConfig}/lib64"
fi fi
} }