Unverified Commit 31328fa6 authored by Emily's avatar Emily Committed by GitHub
Browse files

sgx-sdk: unpin GCC (#434553)

parents 9e3ca09f 0ef1fe5c
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
{
  gcc11Stdenv,
  stdenv,
  fetchFromGitHub,
  cmake,
  nasm,
@@ -7,7 +7,7 @@
  python3,
  extraCmakeFlags ? [ ],
}:
gcc11Stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
  pname = "ipp-crypto";
  version = "2021.11.1";

@@ -25,6 +25,12 @@ gcc11Stdenv.mkDerivation rec {
  ]
  ++ extraCmakeFlags;

  # Yes, it seems bad for a cryptography library to trigger this
  # warning. We previously pinned an EOL GCC which avoided it, but this
  # issue is present regardless of whether we use a compiler that flags
  # it up or not; upstream just doesn’t test with modern compilers.
  env.NIX_CFLAGS_COMPILE = "-Wno-error=stringop-overflow";

  nativeBuildInputs = [
    cmake
    nasm