mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
xbps: fix build w/glibc, disable errors due to unused fread result
This commit is contained in:
parent
31e8b2d069
commit
2e808509f0
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
patches = [ ./cert-paths.patch ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" ];
|
||||
|
||||
postPatch = ''
|
||||
# fix unprefixed ranlib (needed on cross)
|
||||
substituteInPlace lib/Makefile \
|
||||
|
|
Loading…
Reference in a new issue