From 3af8da0ef834b67f74f197291fe581f8076d9750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sun, 15 Apr 2012 13:23:06 +0200 Subject: [PATCH] use system zlib when cross building gcc4 to fix #8242 * this add a dependency on package zlib1g-dev for Linux systems. --- build/scripts/build_cross_tools_gcc4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4 index 571be11e0d..d8960f37eb 100755 --- a/build/scripts/build_cross_tools_gcc4 +++ b/build/scripts/build_cross_tools_gcc4 @@ -146,7 +146,7 @@ copy_headers $haikuSourceDir/headers/posix $tmpIncludeDir/posix # configure gcc cd $gccObjDir CFLAGS="-O2" CXXFLAGS="-O2" $gccSourceDir/configure --prefix=$installDir \ - --target=$haikuMachine --disable-nls --disable-shared \ + --target=$haikuMachine --disable-nls --disable-shared --with-system-zlib \ --enable-languages=c,c++ --enable-lto --enable-frame-pointer \ --with-headers=$tmpIncludeDir --with-libs=$tmpLibDir \ $gccConfigureArgs || exit 1