summaryrefslogtreecommitdiff
path: root/scripts/portable_build.sh
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-30 21:26:32 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-30 21:26:32 +0200
commitc27d5ba97ff1f15a178751759a54c511f5e13652 (patch)
tree92f24466bbd2588b6c10348ea2a695c6d3c2d9b9 /scripts/portable_build.sh
parent012b016c23fee87d0b78bb42d6b784fddb496a9a (diff)
0.5.0-beta2 build
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-xscripts/portable_build.sh15
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