python312Packages.pillow-heif: fix build with clang

This commit is contained in:
Martin Weinelt 2024-02-24 10:42:05 +01:00
parent b79beadd1e
commit c2563bc1ec
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -55,6 +55,9 @@ buildPythonPackage rec {
x265
];
# clang-16: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
propagatedBuildInputs = [
pillow
];