summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-08 03:51:07 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:41 -0400
commitbfa77b9e8db6d5c1c96360a5b536b82d3add574c (patch)
tree5dd1321297308d6089050063227e38ed0ff59fd1 /acprep
parent1f3232d3d5b1c1cc5c4dee61c03070e5e1176d6f (diff)
downloadfork-ledger-bfa77b9e8db6d5c1c96360a5b536b82d3add574c.tar.gz
fork-ledger-bfa77b9e8db6d5c1c96360a5b536b82d3add574c.tar.bz2
fork-ledger-bfa77b9e8db6d5c1c96360a5b536b82d3add574c.zip
Moved options around.
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep17
1 files changed, 12 insertions, 5 deletions
diff --git a/acprep b/acprep
index 80a5e3bb..06c03b3e 100755
--- a/acprep
+++ b/acprep
@@ -58,11 +58,17 @@ LDFLAGS="$LIBDIRS"
while [ -n "$1" ]; do
case "$1" in
--debug)
- SWITCHES="$SWITCHES --enable-debug --enable-boost-sd"
- CPPFLAGS="$CPPFLAGS -D_GLIBCXX_DEBUG=1"
+ SWITCHES="$SWITCHES --enable-debug"
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" ;;
--python)
@@ -72,9 +78,10 @@ while [ -n "$1" ]; do
LDFLAGS="$LDFLAGS -L$PYTHON_HOME/lib/python2.5/config"
fi ;;
+ --pic)
+ CXXFLAGS="$CXXFLAGS -fPIC" ;;
+
--opt)
- CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -O3 -fPIC" ;;
- --flat-opt)
CXXFLAGS="$CXXFLAGS -fomit-frame-pointer -O3" ;;
*)