xbps: fix build w/glibc, disable errors due to unused fread result
This commit is contained in:
parent
31e8b2d069
commit
2e808509f0
@ -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 New Issue
Block a user