diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-24 00:09:53 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-24 10:09:10 +0000 |
commit | d2952f9386d510e2c7776b85dff2600b2514d889 (patch) | |
tree | 0756a435cd891e8a2fa68741a62f8f9181846450 /pkgs/development | |
parent | 920a4e13408ed9ad998363038bd84c9567f537dd (diff) |
libomxil-bellagio: fix build with clang
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/libomxil-bellagio/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libomxil-bellagio/default.nix b/pkgs/development/libraries/libomxil-bellagio/default.nix index 9c6eded392d56..67d9ec29b207c 100644 --- a/pkgs/development/libraries/libomxil-bellagio/default.nix +++ b/pkgs/development/libraries/libomxil-bellagio/default.nix @@ -23,9 +23,9 @@ stdenv.mkDerivation rec { doCheck = false; # fails - # Fix for #40213, probably permanent, because upstream doesn't seem to be - # developed anymore. Alternatively, gcc7Stdenv could be used. - NIX_CFLAGS_COMPILE = "-Wno-error=array-bounds -Wno-error=stringop-overflow=8"; + NIX_CFLAGS_COMPILE = + if stdenv.cc.isGNU then "-Wno-error=array-bounds -Wno-error=stringop-overflow=8" + else "-Wno-error=absolute-value -Wno-error=enum-conversion -Wno-error=logical-not-parentheses -Wno-error=non-literal-null-conversion"; meta = with lib; { homepage = "https://omxil.sourceforge.net/"; |