summaryrefslogtreecommitdiff
path: root/scripts/portable_build.sh
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-15 16:08:39 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-15 16:08:52 +0200
commit9779e027773fcf3e6677020827ece6f94d5d9c36 (patch)
treecdba7c103e6d4deb9d29350bf3ca69e26ebfea45 /scripts/portable_build.sh
parentb1b351fa514ea7bfa41a044bc35b6981e34e373c (diff)
fixed 32bit portable build; rebuild 64bit static libs with apgcc
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-xscripts/portable_build.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh
index fc6c5a5f..36f2665e 100755
--- a/scripts/portable_build.sh
+++ b/scripts/portable_build.sh
@@ -1,11 +1,12 @@
#!/bin/sh
VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'`
ORIGIN=`pwd | perl -ne 'chomp and print'`
+AP=$HOME/bin/autopackage
+export CC=$AP/apbuild/apgcc
+export CXX=$AP/apbuild/apgcc
export APBUILD_STATIC_LIBGCC=1
./autogen.sh
-export CC=$ORIGIN/tools/apbuild/apgcc
-export CXX=$ORIGIN/tools/apbuild/apgcc
./configure --enable-staticlink --enable-portable --disable-artwork-imlib2
sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool