about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2020-03-13 12:27:02 +0100
committerVladimír Čunát <v@cunat.cz>2020-03-13 12:27:02 +0100
commite1d58266d55a91477d57b0715e3328968419663e (patch)
treeb778623e55290cde00c13790bd53d1add4643e09 /pkgs/development/compilers/gcc
parent7b756b6536dc02291121c3cabe08bb011bb425cc (diff)
downloadnixlib-e1d58266d55a91477d57b0715e3328968419663e.tar
nixlib-e1d58266d55a91477d57b0715e3328968419663e.tar.gz
nixlib-e1d58266d55a91477d57b0715e3328968419663e.tar.bz2
nixlib-e1d58266d55a91477d57b0715e3328968419663e.tar.lz
nixlib-e1d58266d55a91477d57b0715e3328968419663e.tar.xz
nixlib-e1d58266d55a91477d57b0715e3328968419663e.tar.zst
nixlib-e1d58266d55a91477d57b0715e3328968419663e.zip
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
Diffstat (limited to 'pkgs/development/compilers/gcc')
-rw-r--r--pkgs/development/compilers/gcc/9/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix
index 8dc93a8ae8f4..f660a59a790a 100644
--- a/pkgs/development/compilers/gcc/9/default.nix
+++ b/pkgs/development/compilers/gcc/9/default.nix
@@ -247,7 +247,7 @@ stdenv.mkDerivation ({
 
   # 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.isi686
+  postFixup = if crossStageStatic && targetPlatform.isMusl && targetPlatform.is32bit
     then ''mkdir "$lib"''
     else null;