]> git.stg.codes - stg.git/blobdiff - projects/stargazer/build
Produce debug output only if SMUX_DEBUG is defined
[stg.git] / projects / stargazer / build
index 0b8f30a1e9cff1876bfa5d4abc247cae31c290c0..041e51731664081bcf08195f0313107de6641b5b 100755 (executable)
@@ -68,7 +68,7 @@ else
     then
         DEFS="$DEFS -DDEBUG"
         MAKEOPTS="-j1"
-        CXXFLAGS="$CXXFLAGS -g3 -W -Wall"
+        CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
     else
         DEFS="$DEFS -DNDEBUG"
         MAKEOPTS="-j1"
@@ -119,7 +119,8 @@ STG_LIBS="logger.lib
          scriptexecuter.lib 
          conffiles.lib
          pinger.lib 
-         dotconfpp.lib"
+         dotconfpp.lib
+          smux.lib"
 
 PLUGINS="authorization/ao
          authorization/inetaccess
@@ -422,6 +423,7 @@ done
 echo "" >> $CONFFILE
 echo "SHELL=$SHELL" >> $CONFFILE
 echo "CXXFLAGS=$CXXFLAGS" >> $CONFFILE
+echo "CFLAGS=$CXXFLAGS" >> $CONFFILE
 echo "LDFLAGS=$LDFLAGS" >> $CONFFILE
 echo "LIB_THREAD=$LIB_THREAD" >> $CONFFILE
 echo "PREFIX=$PREFIX" >> $CONFFILE