summaryrefslogtreecommitdiff
path: root/scripts/portable_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/portable_build.sh')
-rwxr-xr-xscripts/portable_build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/portable_build.sh b/scripts/portable_build.sh
index 5ab23f29..412db5fa 100755
--- a/scripts/portable_build.sh
+++ b/scripts/portable_build.sh
@@ -4,8 +4,8 @@ ORIGIN=`pwd | perl -ne 'chomp and print'`
export APBUILD_STATIC_LIBGCC=1
./autogen.sh
-CC=$ORIGIN/tools/apbuild/apgcc
-CXX=$ORIGIN/tools/apbuild/apgcc
+export CC=$ORIGIN/tools/apbuild/apgcc
+export 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