diff options
author | waker <wakeroid@gmail.com> | 2012-05-02 22:02:48 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-05-02 22:02:48 +0200 |
commit | 2c8f0d67a5b2fc56c87801eea2f3aa375c77ad4f (patch) | |
tree | e47ebe2953f1b039fcfa94213e3e99bb9a14a745 /scripts | |
parent | 2dc99e947c6244b3106d70287bd7e43bd4d00ace (diff) |
static build/install scripts fixes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/static_build.sh | 2 | ||||
-rwxr-xr-x | scripts/static_install.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/scripts/static_build.sh b/scripts/static_build.sh index 7eb00e10..7ebc85ca 100755 --- a/scripts/static_build.sh +++ b/scripts/static_build.sh @@ -3,7 +3,7 @@ VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` ORIGIN=`pwd | perl -ne 'chomp and print'` AP=$ORIGIN/tools/apbuild export CC=$AP/apgcc -export CXX=$AP/apgcc +export CXX=$AP/apgcc export APBUILD_STATIC_LIBGCC=1 diff --git a/scripts/static_install.sh b/scripts/static_install.sh index 9de33357..d2295961 100755 --- a/scripts/static_install.sh +++ b/scripts/static_install.sh @@ -1,3 +1,4 @@ #!/bin/sh VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'` -DESTDIR=`pwd`/static/deadbeef-$VERSION make install +ARCH=`uname -m | perl -ne 'chomp and print'` +DESTDIR=`pwd`/static/$ARCH/deadbeef-$VERSION make install |