Lines Matching +full:build +full:- +full:args
3 set -e
10 if [ $# -ne 0 ]; then
12 while [ -z "$endloop" ]; do
16 cbits32="-m32"
17 echo "Forced 32-bit library build..."
21 echo "Forced mixer modules build..."
25 echo "Forced alisp code build..."
29 echo "Forced python2 interpreter build..."
32 lto="-flto -flto-partition=none"
33 echo "Forced lto build..."
37 echo "Selected static build..."
45 if [ $# -ne 0 -a -z "$bit32" ]; then
46 args="$@"
47 elif [ -r /etc/asound/library_args ]; then
48 args="`cat /etc/asound/library_args`"
49 if [ -z "$bits32" ]; then
50 test -r /etc/asound/library64_args && \
51 args="`cat /etc/asound/library64_args`"
57 if [ -z "$bits32" ]; then
58 test -d /usr/lib64 && libdir="/usr/lib64"
59 test -f /lib64/libasound.so.2 && libdir="/lib64"
60 test -d /usr/lib64 && libdir2="/usr/lib64"
62 test -f /lib/libasound.so.2 && libdir="/lib"
64 args="--disable-aload --prefix=$prefix --libdir=$libdir"
65 args="$args --with-plugindir=$libdir2/alsa-lib"
66 args="$args --with-pkgconfdir=$libdir2/pkgconfig"
70 args="$args --enable-mixer-modules"
71 args="$args --enable-mixer-pymods"
75 args="$args --enable-alisp"
79 args="$args --enable-python2"
83 #args="$args --enable-shared=no --enable-static=yes"
84 args="$args --disable-shared"
89 libtoolize --force --copy --automake
92 automake --foreign --copy --add-missing
95 export CFLAGS="$cbits32 -O2 -Wall -W -Wunused-const-variable=0 -pipe -g $lto"
96 if [ -n "$lto" ]; then
97 export AR="gcc-ar"
98 export RANLIB="gcc-ranlib"
101 echo "./configure $args"
102 ./configure $args || exit 1
104 if [ -z "$GITCOMPILE_NO_MAKE" ]; then