Merge pull request #138740 from trofi/fix-libpsm2-gcc-11
libpsm2: disable blanket -Werror (gcc-11 fix)
This commit is contained in:
commit
d6b683c052
1 changed files with 7 additions and 1 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue