···19192020 enableParallelBuilding = true;
21212222- # They are used to boost 1.42, and we have newer boost that require
2323- # this for freecad to build
2424- NIX_CFLAGS_COMPILE = "-DBOOST_FILESYSTEM_VERSION=2";
2222+ # The freecad people are used to boost 1.42, and we have newer boost that
2323+ # require the -DBOOST_FILESYSTEM_VERSION=2 for freecad to build
2424+ # For zlib to build in i686-linux, as g++ plus glibc defines _LARGEFILE64_SOURCE,
2525+ # we need the -D-FILE_OFFSET_BITS=64 indication for zlib headers to work.
2626+ NIX_CFLAGS_COMPILE = "-DBOOST_FILESYSTEM_VERSION=2 -D_FILE_OFFSET_BITS=64";
25272628 # This should work on both x86_64, and i686 linux
2729 preBuild = ''