glibc: suppress warning about IEEE-standard long double

This commit is contained in:
Adam Joseph 2022-07-27 18:00:53 -07:00
parent aeae5ca562
commit c5a4cc8396

View file

@ -63,6 +63,13 @@ in
# Same for musl: https://github.com/NixOS/nixpkgs/issues/78805
"-Wno-error=missing-attributes"
])
(lib.optionals (stdenv.hostPlatform.isPower64) [
# Do not complain about the Processor Specific ABI (i.e. the
# choice to use IEEE-standard `long double`). We pass this
# flag in order to mute a `-Werror=psabi` passed by glibc;
# hopefully future glibc releases will not pass that flag.
"-Wno-error=psabi"
])
]);
};