diff options
| author | James Brown | 2003-08-10 07:56:05 +0000 |
|---|---|---|
| committer | James Brown | 2003-08-10 07:56:05 +0000 |
| commit | c2ed4c2d0ec9383e336f1e57062130487349328d (patch) | |
| tree | d815d1aac1d95c05320d9aed14aa98764d038e18 | |
| parent | 8cc805121dd79fbfe7e60470bcc783eb4e625515 (diff) | |
| download | scummvm-rg350-c2ed4c2d0ec9383e336f1e57062130487349328d.tar.gz scummvm-rg350-c2ed4c2d0ec9383e336f1e57062130487349328d.tar.bz2 scummvm-rg350-c2ed4c2d0ec9383e336f1e57062130487349328d.zip | |
Use debug by default for CVS trunk
svn-id: r9619
| -rwxr-xr-x | configure | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -177,6 +177,8 @@ EOF fi done # for parm in ... +DEBFLAGS="-g" + for ac_option in $@; do case "$ac_option" in --disable-scumm) _build_scumm=no ;; @@ -212,8 +214,11 @@ for ac_option in $@; do --backend=*) _backend=`echo $ac_option | cut -d '=' -f 2` ;; - --enable-debug) - CXXFLAGS="$CXXFLAGS -g" + --disable-debug) + DEBFLAGS="" + ;; + --enable-release) + DEBFLAGS="" ;; *) echo "error: unrecognised option: $ac_option @@ -223,6 +228,7 @@ Try \`$0 --help' for more information." >&2 esac; done; +CXXFLAGS="$CXXFLAGS $DEBFLAGS" # # Determine the C++ compiler # |
