From 625fba01fecf0539ff81d8f2969a226a80b17cda Mon Sep 17 00:00:00 2001 From: eschnett Date: Sun, 12 Jun 2011 00:12:02 +0000 Subject: Disable parallel build git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/zlib/trunk@4 d47fded2-66c1-406f-af09-4fc0800f9c6b --- zlib.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zlib.sh b/zlib.sh index c10c354..b294048 100644 --- a/zlib.sh +++ b/zlib.sh @@ -92,6 +92,11 @@ if [ -z "${ZLIB_DIR}" -o "${ZLIB_DIR}" = 'BUILD' ]; then if echo '' ${ARFLAGS} | grep 64 > /dev/null 2>&1; then export OBJECT_MODE=64 fi + # Disable parallel make. With parallel make, I sometimes + # encounter a build error "ld: in libz.a, malformed archive + # TOC entry for _zlibVersion, offset 824872 is beyond end of + # file 237568 for architecture x86_64" + unset MAKEFLAGS echo "zlib: Preparing directory structure..." mkdir build external done 2> /dev/null || true -- cgit v1.2.3