From 5abbd96a58cc324167e5161d53f0add4dc45aa68 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 30 Apr 2012 21:22:39 +0200 Subject: x86_64 static build support --- scripts/portable_build.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'scripts/portable_build.sh') diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh index 6a047023..89f2d1ca 100755 --- a/scripts/portable_build.sh +++ b/scripts/portable_build.sh @@ -1,14 +1,15 @@ #!/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 +AP=$ORIGIN/tools/apbuild +export CC=$AP/apgcc +export CXX=$AP/apgcc + export APBUILD_STATIC_LIBGCC=1 ./autogen.sh -./configure --enable-staticlink --enable-portable --disable-artwork-imlib2 +./configure --enable-staticlink=yes --enable-portable=yes --disable-artwork-imlib2 sed -i 's/-lstdc++ -lm -lgcc_s -lc -lgcc_s/-lm -lc/g' libtool make clean make -j9 -- cgit v1.2.3