diff options
author | 2011-05-09 21:21:10 +0200 | |
---|---|---|
committer | 2011-05-09 21:21:10 +0200 | |
commit | e719b12c9bc33cef175c5b5b8b44c0668d16423b (patch) | |
tree | f5fba74fda34398821e36b59bd70d6d56c261745 /scripts/portable_extraplugs.sh | |
parent | 63c4e2c81e953b8ea11db12f5fe74dd50639aa1a (diff) |
moved building portable version of extra plugins to separate script
Diffstat (limited to 'scripts/portable_extraplugs.sh')
-rwxr-xr-x | scripts/portable_extraplugs.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/portable_extraplugs.sh b/scripts/portable_extraplugs.sh new file mode 100755 index 00000000..5d922aad --- /dev/null +++ b/scripts/portable_extraplugs.sh @@ -0,0 +1,18 @@ +#!/bin/sh +VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` +ORIGIN=`pwd | perl -ne 'chomp and print'` +export APBUILD_STATIC_LIBGCC=1 +export CC=$ORIGIN/tools/apbuild/apgcc +export CXX=$ORIGIN/tools/apbuild/apgcc + +ZLIB_LIBS="$ORIGIN/lib-x86-32/libz.a" +CFLAGS="-I$ORIGIN/lib-x86-32/include" + +for i in shn dumb ao ; do + echo cd + cd $ORIGIN/plugins/$i + make clean + echo making $ORIGIN/plugins/$i + make -j8 STATIC_CFLAGS="$CFLAGS" CC=$CC CXX=$CXX ZLIB_LIBS=$ZLIB_LIBS +done + |