commit
4e6a21dbec
@ -245,12 +245,6 @@ stdenv.mkDerivation ({
|
|||||||
|
|
||||||
inherit (stdenv) is64bit;
|
inherit (stdenv) is64bit;
|
||||||
|
|
||||||
# In this particular combination it stopped creating lib output at all.
|
|
||||||
# TODO: perhaps find a better fix? (ideally understand what's going on)
|
|
||||||
postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.is32bit
|
|
||||||
then ''mkdir "$lib"''
|
|
||||||
else null;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://gcc.gnu.org/;
|
homepage = https://gcc.gnu.org/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
license = stdenv.lib.licenses.gpl3Plus; # runtime support libraries are typically LGPLv3+
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user