gcc: fix musl cross-compiler on i686
This commit is contained in:
parent
84497cabd1
commit
c0008c5b63
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue