X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/555324cdb34701b2e0fd1d681218de85e5cc7f6d..11422f8dd8d0bbd2a9316974a634e185ec18fd9f:/projects/convertor/build diff --git a/projects/convertor/build b/projects/convertor/build index 6d28ba2c..471ee62c 100755 --- a/projects/convertor/build +++ b/projects/convertor/build @@ -20,6 +20,7 @@ DEFS="-DDEBUG" MAKEOPTS="-j1" CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" +DEBUG="yes" if [ "$sys" = "Linux" ] then @@ -36,6 +37,7 @@ then 6) OS=bsd5;; 7) OS=bsd7;; 8) OS=bsd7;; + 9) OS=bsd7;; *) OS=unknown;; esac MAKE="gmake" @@ -65,7 +67,6 @@ PLUGINS="store/files" if [ "$OS" = "linux" ] then DEFS="$DEFS -DLINUX" - SHELL="/bin/bash" LIB_THREAD=-lpthread else if [ "$OS" = "bsd" ] @@ -81,7 +82,6 @@ else LIB_THREAD=-lc_r fi fi - SHELL="/usr/local/bin/bash" fi if [ -z "$CC" ] @@ -252,6 +252,7 @@ fi echo "OS=$OS" > $CONFFILE echo "STG_TIME=yes" >> $CONFFILE +echo "DEBUG=$DEBUG" >> $CONFFILE echo "DIR_BUILD=$BUILD_DIR" >> $CONFFILE echo "DIR_LIB=\$(DIR_BUILD)/../../lib" >> $CONFFILE echo "DIR_LIBSRC=\$(DIR_BUILD)/../../stglibs" >> $CONFFILE @@ -273,7 +274,6 @@ do echo -n "$plugin " >> $CONFFILE done echo "" >> $CONFFILE -echo "SHELL=$SHELL" >> $CONFFILE echo "CXXFLAGS=$CXXFLAGS" >> $CONFFILE echo "CFLAGS=$CFLAGS" >> $CONFFILE echo "LDFLAGS=$LDFLAGS" >> $CONFFILE