Fixed acprep so that it builds Ledger again. Somehow it got completely
broken at some point.
This commit is contained in:
parent
7dd43dd334
commit
cb0a436d94
1 changed files with 13 additions and 6 deletions
19
acprep
19
acprep
|
|
@ -35,23 +35,30 @@ LIBDIRS="-L/opt/local/lib -L/usr/local/lib"
|
|||
|
||||
if [ "$1" = "--debug" ]; then
|
||||
shift 1
|
||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \
|
||||
--enable-debug --enable-python "$@"
|
||||
elif [ "$1" = "--opt" ]; then
|
||||
shift 1
|
||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
||||
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC" "$@"
|
||||
elif [ "$1" = "--flat-opt" ]; then
|
||||
shift 1
|
||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
||||
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450" "$@"
|
||||
elif [ "$1" = "--safe-opt" ]; then
|
||||
shift 1
|
||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" \
|
||||
CXXFLAGS="-fomit-frame-pointer -O3 -mcpu=7450 -fPIC -DDEBUG_LEVEL=1" "$@"
|
||||
elif [ "$1" = "--perf" ]; then
|
||||
shift 1
|
||||
./configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" "$@"
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g -pg" "$@"
|
||||
elif [ "$1" = "--python" ]; then
|
||||
shift 1
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" \
|
||||
--enable-python "$@"
|
||||
else
|
||||
shift 1
|
||||
$HERE/configure CPPFLAGS="$INCDIRS" LDFLAGS="$LIBDIRS" CXXFLAGS="-g" "$@"
|
||||
fi
|
||||
|
||||
rm AUTHORS COPYING
|
||||
rm -f AUTHORS COPYING
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue