Moved options around.
This commit is contained in:
parent
1f3232d3d5
commit
bfa77b9e8d
1 changed files with 12 additions and 5 deletions
17
acprep
17
acprep
|
|
@ -58,11 +58,17 @@ LDFLAGS="$LIBDIRS"
|
||||||
while [ -n "$1" ]; do
|
while [ -n "$1" ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
--debug)
|
--debug)
|
||||||
SWITCHES="$SWITCHES --enable-debug --enable-boost-sd"
|
SWITCHES="$SWITCHES --enable-debug"
|
||||||
CPPFLAGS="$CPPFLAGS -D_GLIBCXX_DEBUG=1"
|
|
||||||
CXXFLAGS="$CXXFLAGS -g" ;;
|
CXXFLAGS="$CXXFLAGS -g" ;;
|
||||||
|
|
||||||
--prof | --perf)
|
--boost-sd)
|
||||||
|
SWITCHES="$SWITCHES --enable-boost-sd"
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_GLIBCXX_DEBUG=1" ;;
|
||||||
|
|
||||||
|
--gcov)
|
||||||
|
CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage" ;;
|
||||||
|
|
||||||
|
--gprof)
|
||||||
CXXFLAGS="$CXXFLAGS -g -pg" ;;
|
CXXFLAGS="$CXXFLAGS -g -pg" ;;
|
||||||
|
|
||||||
--python)
|
--python)
|
||||||
|
|
@ -72,9 +78,10 @@ while [ -n "$1" ]; do
|
||||||
LDFLAGS="$LDFLAGS -L$PYTHON_HOME/lib/python2.5/config"
|
LDFLAGS="$LDFLAGS -L$PYTHON_HOME/lib/python2.5/config"
|
||||||
fi ;;
|
fi ;;
|
||||||
|
|
||||||
|
--pic)
|
||||||
|
CXXFLAGS="$CXXFLAGS -fPIC" ;;
|
||||||
|
|
||||||
--opt)
|
--opt)
|
||||||
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -O3 -fPIC" ;;
|
|
||||||
--flat-opt)
|
|
||||||
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -O3" ;;
|
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -O3" ;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue