mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-22 05:19:00 +02:00
xcbuild: fixup build with glibc-2.25
This commit is contained in:
parent
7ccd6f25f0
commit
fe8aa284c2
|
@ -31,6 +31,12 @@ in stdenv.mkDerivation rec {
|
||||||
cp -r --no-preserve=all ${linenoise} ThirdParty/linenoise
|
cp -r --no-preserve=all ${linenoise} ThirdParty/linenoise
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Avoid a glibc >= 2.25 deprecation warning that gets fatal via -Werror.
|
||||||
|
postPatch = ''
|
||||||
|
sed 1i'#include <sys/sysmacros.h>' \
|
||||||
|
-i Libraries/xcassets/Headers/xcassets/Slot/SystemVersion.h
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
# TODO: instruct cmake not to put it in /usr, rather than cleaning up
|
# TODO: instruct cmake not to put it in /usr, rather than cleaning up
|
||||||
|
|
Loading…
Reference in a new issue