From c27d5ba97ff1f15a178751759a54c511f5e13652 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 30 Apr 2011 21:26:32 +0200 Subject: 0.5.0-beta2 build --- scripts/portable_build.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'scripts/portable_build.sh') diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh index 25ba633c..89fc5a8d 100755 --- a/scripts/portable_build.sh +++ b/scripts/portable_build.sh @@ -3,15 +3,22 @@ VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` ORIGIN=`pwd | perl -ne 'chomp and print'` export APBUILD_STATIC_LIBGCC=1 -CC=$ORIGIN/tools/apbuild/apgcc CXX=$ORIGIN/tools/apbuild/apgcc ./configure --enable-staticlink --enable-portable --disable-nls --disable-pulse --disable-artwork-imlib2 +#./autogen.sh +CC=$ORIGIN/tools/apbuild/apgcc +CXX=$ORIGIN/tools/apbuild/apgcc + +./configure --enable-staticlink --enable-portable --disable-nls --disable-artwork-imlib2 sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool -make clean -make -j9 +#make clean +#make -j9 + +ZLIB_LIBS=$ORIGIN/lib-x86-32/libz.a +CFLAGS=-I $ORIGIN/lib-x86-32/include for i in dumb shn ao ; do cd $ORIGIN/plugins/$i make clean - make -j8 + make -j8 ZLIB_LIBS=$ZLIB_LIBS STATIC_CFLAGS=$CFLAGS CC=$CC CXX=$CXX done cd $ORIGIN -- cgit v1.2.3