mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #293617 from iFreilicht/fix-zsync-clang
zsync: fix build with clang + migrate to by-name
This commit is contained in:
commit
b046a81451
@ -9,6 +9,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1wjslvfy76szf0mgg2i9y9q30858xyjn6v2acc24zal76d1m778b";
|
||||
};
|
||||
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
# Suppress error "call to undeclared library function 'strcasecmp'" during compilation.
|
||||
# The function is found by the linker correctly, so this doesn't introduce any issues.
|
||||
NIX_CFLAGS_COMPILE = " -Wno-implicit-function-declaration";
|
||||
};
|
||||
|
||||
makeFlags = [ "AR=${stdenv.cc.bintools.targetPrefix}ar" ];
|
||||
|
||||
meta = with lib; {
|
@ -15219,8 +15219,6 @@ with pkgs;
|
||||
|
||||
zsv = callPackage ../development/tools/zsv { };
|
||||
|
||||
zsync = callPackage ../tools/compression/zsync { };
|
||||
|
||||
zxing = callPackage ../tools/graphics/zxing { };
|
||||
|
||||
zkar = callPackage ../tools/security/zkar { };
|
||||
|
Loading…
Reference in New Issue
Block a user