Merge pull request #138740 from trofi/fix-libpsm2-gcc-11

libpsm2: disable blanket -Werror (gcc-11 fix)
This commit is contained in:
r-burns 2021-09-21 00:38:40 -07:00 committed by GitHub
commit d6b683c052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,12 @@ stdenv.mkDerivation rec {
buildInputs = [ numactl pkg-config ];
makeFlags = [
# Disable blanket -Werror to avoid build failures
# on fresh toolchains like gcc-11.
"WERROR="
];
installFlags = [
"DESTDIR=$(out)"
"UDEVDIR=/etc/udev"
@ -35,7 +41,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/intel/opa-psm2";
description = "The PSM2 library supports a number of fabric media and stacks";
license = with licenses; [ gpl2 bsd3 ];
platforms = [ "x86_64-linux" ];
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.bzizou ];
};
}