xbps: fix build w/glibc, disable errors due to unused fread result

This commit is contained in:
Will Dietz 2019-09-04 20:45:18 -05:00
parent 31e8b2d069
commit 2e808509f0
No known key found for this signature in database
GPG key ID: EBB0EA4124809D02

View file

@ -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 \