]> git.stg.codes - stg.git/blobdiff - projects/stargazer/build
optimization method USER_IMPL::GetParamValue
[stg.git] / projects / stargazer / build
index 8a34c4fc9d80e90300283ba292c1cd8fc39b703e..a323148b9ed3c9787c58fd029a9d5a9e49060c68 100755 (executable)
@@ -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"