Lines Matching +full:- +full:wunused +full:- +full:const +full:- +full:variable
3 set -e
10 if [ $# -ne 0 ]; then
12 while [ -z "$endloop" ]; do
16 cbits32="-m32"
17 echo "Forced 32-bit library build..."
32 lto="-flto -flto-partition=none"
45 if [ $# -ne 0 -a -z "$bit32" ]; then
47 elif [ -r /etc/asound/library_args ]; then
49 if [ -z "$bits32" ]; then
50 test -r /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"
104 if [ -z "$GITCOMPILE_NO_MAKE" ]; then