gcc: tweak platform condition in the hack from b6ae8193

It was rightly noted that armv7l suffers from the same issue:
https://hydra.nixos.org/build/114263466#tabs-buildsteps
This commit is contained in:
Vladimír Čunát 2020-03-13 12:27:02 +01:00
parent 7b756b6536
commit e1d58266d5
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -247,7 +247,7 @@ stdenv.mkDerivation ({
# In this particular combination it stopped creating lib output at all. # In this particular combination it stopped creating lib output at all.
# TODO: perhaps find a better fix? (ideally understand what's going on) # TODO: perhaps find a better fix? (ideally understand what's going on)
postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.isi686 postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.is32bit
then ''mkdir "$lib"'' then ''mkdir "$lib"''
else null; else null;