From 9745439b1e58bded28185a4c89b512cee8e908b3 Mon Sep 17 00:00:00 2001 From: i0gan Date: Tue, 30 Jul 2024 16:04:28 +0000 Subject: [PATCH] Change Debug version to Release version by default on linux --- tools/common.sh | 5 ++--- tools/install_dev_env.sh | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/common.sh b/tools/common.sh index bdb3c82b..9c27f601 100755 --- a/tools/common.sh +++ b/tools/common.sh @@ -5,9 +5,8 @@ # Github: https://github.com/pwnsky/squick # Description: Bash script source file -#build_type="Release" -build_version="Debug" -build_mode="dev" +build_version="Release" +#build_mode="dev" project_path=`pwd`/.. build_path="$project_path/cache" sys=`uname -s` diff --git a/tools/install_dev_env.sh b/tools/install_dev_env.sh index 10aa25d9..b0f401ce 100755 --- a/tools/install_dev_env.sh +++ b/tools/install_dev_env.sh @@ -23,8 +23,8 @@ echo "Current LinuxDistro $LinuxDistro" if [ $LinuxDistro == "Debian" ] || [ $LinuxDistro == "Ubuntu" ] || [ $LinuxDistro == "Raspbian" ]; then $sudo apt-get update - $sudo apt-get -y git cmake unzip automake make g++ libtool pkg-config - $sudo apt-get -y install libreadline-dev libssl-dev libncurses5-dev + $sudo apt-get -y git cmake unzip automake make gcc g++ libtool pkg-config + $sudo apt-get -y install libreadline-dev libssl-dev libncurses-dev elif [ $LinuxDistro == "CentOS" ] || [ $LinuxDistro == "RHEL" ] || [ $LinuxDistro == "Fedora" ] || [ $LinuxDistro == "Aliyun" ]; then $sudo yum -y install cmake unzip automake make