X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/1adb53e896797c73b5528ee178bd73ff51be2c43..31b24cededa8b07468cb5e1c49b2a208fe19173e:/projects/stargazer/build?ds=inline diff --git a/projects/stargazer/build b/projects/stargazer/build index 8a34c4fc..a323148b 100755 --- a/projects/stargazer/build +++ b/projects/stargazer/build @@ -35,23 +35,15 @@ MIN_XMLRPCC_VERSION="1.06.27" XMLRPC_FEATURES="c++2 abyss-server" -if [ -z "$1" ] +if [ "$1" = "debug" ] then + DEFS="$DEFS -DDEBUG" + MAKEOPTS="$MAKEOPTS -j1" + CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall" + DEBUG="yes" +else DEFS="$DEFS -DNDEBUG" - MAKEOPTS="-j1" DEBUG="no" -else - if [ "$1" = "debug" ] - then - DEFS="$DEFS -DDEBUG" - MAKEOPTS="-j1" - CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall" - DEBUG="yes" - else - DEFS="$DEFS -DNDEBUG" - MAKEOPTS="-j1" - DEBUG="no" - fi fi CXXFLAGS="$CXXFLAGS -I/usr/local/include"