Robin Gareus
53c6c714cd
-rdynamic: Pass the flag -export-dynamic to the ELF linker, on targets that support it. This instructs the linker to add all symbols, not only used ones, to the dynamic symbol table. This option is needed for some uses of dlopen or to allow obtaining backtraces from within a program. Some LinuxVST pluging cause ardour3 to crash -- if ardour is linked with -rdynamic (see #ardour log from 2013-jun-6). This is likely compiler specific and not a problem on las' build-machine (gcc 4.5.5) which is why the linux-packaging script enables it by default. The issue can be reproduced reliably with gcc 4.7.2 and 4.6.3. Although it is yet unclear if it is caused by g++/ld or related to other factors of the build-system...
24 lines
636 B
Bash
24 lines
636 B
Bash
#!/bin/sh
|
|
|
|
BASE=$(readlink -f $0)
|
|
BASE=$(dirname $BASE) # up one
|
|
BASE=$(dirname $BASE) # up one more
|
|
BASE=$(dirname $BASE) # up again
|
|
|
|
if mount | grep --silent vmshare ; then
|
|
sudo mount -t vboxsf vmshare $HOME/vmshare
|
|
fi
|
|
|
|
cd $BASE || exit 1
|
|
git pull || exit 1
|
|
./waf configure $* --strict --backtrace --noconfirm --also-libdir=$HOME/a3/inst/lib --also-include=$HOME/gtk/inst/include || exit 1
|
|
./waf || exit 1
|
|
cd tools/linux_packaging || exit 1
|
|
./build --public --strip some || exit 1
|
|
./package --public --singlearch || exit 1
|
|
file=`ls -t *.tar`
|
|
echo "Copying $file to shared folder ..."
|
|
sudo cp $file $HOME/vmshare || exit 1
|
|
|
|
exit 0
|