Skip to content

Commit

Permalink
Merge #179534: gcc10: 10.3.0 -> 10.4.0 (into staging)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jul 1, 2022
2 parents abcd500 + 3f88d51 commit 97be985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 75 deletions.
8 changes: 3 additions & 5 deletions pkgs/development/compilers/gcc/10/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ with lib;
with builtins;

let majorVersion = "10";
version = "${majorVersion}.3.0";
version = "${majorVersion}.4.0";

inherit (stdenv) buildPlatform hostPlatform targetPlatform;

patches = [ ./gcc10-asan-glibc-2.34.patch ]
patches = [ ]
++ optional (targetPlatform != hostPlatform) ../libstdc++-target.patch
++ optional noSysDirs ../no-sys-dirs.patch
++ optional (noSysDirs && hostPlatform.isRiscV) ../no-sys-dirs-riscv.patch
Expand All @@ -73,8 +73,6 @@ let majorVersion = "10";
# Obtain latest patch with ../update-mcfgthread-patches.sh
++ optional (!crossStageStatic && targetPlatform.isMinGW) ./Added-mcf-thread-model-support-from-mcfgthread.patch

++ [ ../libsanitizer-no-cyclades.patch ]

++ optional (buildPlatform.system == "aarch64-darwin" && targetPlatform != buildPlatform) (fetchpatch {
url = "https://raw.githubusercontent.com/richard-vd/musl-cross-make/5e9e87f06fc3220e102c29d3413fbbffa456fcd6/patches/gcc-${version}/0008-darwin-aarch64-self-host-driver.patch";
sha256 = "sha256-XtykrPd5h/tsnjY1wGjzSOJ+AyyNLsfnjuOZ5Ryq9vA=";
Expand All @@ -95,7 +93,7 @@ stdenv.mkDerivation ({

src = fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
sha256 = "0i6378ig6h397zkhd7m4ccwjx5alvzrf2hm27p1pzwjhlv0h9x34";
sha256 = "1wg4xdizkksmwi66mvv2v4pk3ja8x64m7v9gzhykzd3wrmdpsaf9";
};

inherit patches;
Expand Down
70 changes: 0 additions & 70 deletions pkgs/development/compilers/gcc/10/gcc10-asan-glibc-2.34.patch

This file was deleted.

0 comments on commit 97be985

Please sign in to comment.