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
|
||||
'';
|
||||
|
||||
# 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;
|
||||
|
||||
# TODO: instruct cmake not to put it in /usr, rather than cleaning up
|
||||
|
Loading…
Reference in New Issue
Block a user