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 ];
|
patches = [ ./cert-paths.patch ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# fix unprefixed ranlib (needed on cross)
|
# fix unprefixed ranlib (needed on cross)
|
||||||
substituteInPlace lib/Makefile \
|
substituteInPlace lib/Makefile \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user