From 9779e027773fcf3e6677020827ece6f94d5d9c36 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 15 May 2011 16:08:39 +0200 Subject: fixed 32bit portable build; rebuild 64bit static libs with apgcc --- scripts/portable_build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts/portable_build.sh') 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 -- cgit v1.2.3