about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2023-08-11 17:05:11 +0200
committerVladimír Čunát <v@cunat.cz>2023-08-11 17:05:11 +0200
commit287a5b6baafd99677c267c780c6649f920b43720 (patch)
treed30abecd9b471028d197fa18cd0a927815061e16
parentbab20c7df7025b680038b276408546ac14b7afd4 (diff)
gcc10: apply a patch more often
As usual, just to earlier detect when it stops applying.
-rw-r--r--pkgs/development/compilers/gcc/10/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/10/default.nix b/pkgs/development/compilers/gcc/10/default.nix
index e4444110adab2..0ab4819107f91 100644
--- a/pkgs/development/compilers/gcc/10/default.nix
+++ b/pkgs/development/compilers/gcc/10/default.nix
@@ -57,7 +57,7 @@ let majorVersion = "10";
       ../fix-bug-80431.patch
     ] ++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
       ++ optional noSysDirs ../no-sys-dirs.patch
-      ++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch
+      ++ optional noSysDirs ../no-sys-dirs-riscv.patch
       /* ++ optional (hostPlatform != buildPlatform) (fetchpatch { # XXX: Refine when this should be applied
         url = "https://git.busybox.net/buildroot/plain/package/gcc/${version}/0900-remove-selftests.patch?id=11271540bfe6adafbc133caf6b5b902a816f5f02";
         sha256 = ""; # TODO: uncomment and check hash when available.