some fixes

This commit is contained in:
timerix 2022-09-09 21:51:08 +06:00
parent 018f34f15d
commit bab334b928
2 changed files with 4 additions and 3 deletions

View File

@ -40,7 +40,7 @@ case $TASK in
LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"
TASK_SCRIPT="cbuild/build_shared_lib.sh"
;;
build_shared_lib_dbg
build_shared_lib_dbg)
C_ARGS="-O0 -g -fpic -shared"
CPP_ARGS="$C_ARGS"
LINKER_ARGS="-Wl,-soname,$SHARED_LIB_FILE"

View File

@ -19,9 +19,10 @@ if [ ! -f ".config" ]; then
exit
fi
source .config
#version check
if [ ! $CONFIG_VER -eq 2 ]; then
print "${RED}Your config version isn't correct"
print "${RED}Your config version isn't correct\n"
while true; do
print "${WHITE}Backup current config and create default one? (y/n) "
read answ
@ -34,4 +35,4 @@ if [ ! $CONFIG_VER -eq 2 ]; then
* ) print "${RED}incorrect answer\n";;
esac
done
fi
fi