diff options
author | waker <wakeroid@gmail.com> | 2011-04-30 21:26:32 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-04-30 21:26:32 +0200 |
commit | c27d5ba97ff1f15a178751759a54c511f5e13652 (patch) | |
tree | 92f24466bbd2588b6c10348ea2a695c6d3c2d9b9 /scripts/portable_build.sh | |
parent | 012b016c23fee87d0b78bb42d6b784fddb496a9a (diff) |
0.5.0-beta2 build
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-x | scripts/portable_build.sh | 15 |
1 files changed, 11 insertions, 4 deletions
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 |